We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9531816 commit 830bb5bCopy full SHA for 830bb5b
1 file changed
apps/example-web/src/components/Toolbar.tsx
@@ -17,7 +17,7 @@ interface ToolbarButtonProps {
17
label: string;
18
testId: string;
19
isActive: boolean;
20
- isDisabled: boolean;
+ isDisabled?: boolean;
21
variant?: string;
22
onPress: () => void;
23
}
@@ -234,7 +234,6 @@ export function Toolbar({
234
label={item.label}
235
testId={`toolbar-button-alignment-${item.value}`}
236
isActive={s?.alignment === item.value}
237
- isDisabled={false}
238
onPress={() => {
239
editorRef.current?.setTextAlignment(item.value);
240
}}
0 commit comments