Skip to content

Commit

Permalink
feat(lexical): change className props in TreeView component to optional
Browse files Browse the repository at this point in the history
  • Loading branch information
reekystive committed Aug 20, 2024
1 parent 783f0aa commit dd2467b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions packages/lexical-react/src/LexicalTreeView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,12 @@ export function TreeView({
editor,
}: {
editor: LexicalEditor;
treeTypeButtonClassName: string;
timeTravelButtonClassName: string;
timeTravelPanelButtonClassName: string;
timeTravelPanelClassName: string;
timeTravelPanelSliderClassName: string;
viewClassName: string;
treeTypeButtonClassName?: string;
timeTravelButtonClassName?: string;
timeTravelPanelButtonClassName?: string;
timeTravelPanelClassName?: string;
timeTravelPanelSliderClassName?: string;
viewClassName?: string;
}): JSX.Element {
const [timeStampedEditorStates, setTimeStampedEditorStates] = useState<
Array<[number, EditorState]>
Expand Down

0 comments on commit dd2467b

Please sign in to comment.