fix: cleanup code
This commit is contained in:
committed by
Nicolás Hatcher Andrés
parent
efc925a046
commit
793534b190
@@ -67,7 +67,7 @@ type ToolbarProperties = {
|
|||||||
onToggleVerticalAlign: (v: string) => void;
|
onToggleVerticalAlign: (v: string) => void;
|
||||||
onToggleWrapText: (v: boolean) => void;
|
onToggleWrapText: (v: boolean) => void;
|
||||||
onCopyStyles: () => void;
|
onCopyStyles: () => void;
|
||||||
onTextColorPicked: (hex: string | null) => void;
|
onTextColorPicked: (hex: string) => void;
|
||||||
onFillColorPicked: (hex: string) => void;
|
onFillColorPicked: (hex: string) => void;
|
||||||
onNumberFormatPicked: (numberFmt: string) => void;
|
onNumberFormatPicked: (numberFmt: string) => void;
|
||||||
onBorderChanged: (border: BorderOptions) => void;
|
onBorderChanged: (border: BorderOptions) => void;
|
||||||
@@ -429,17 +429,6 @@ function Toolbar(properties: ToolbarProperties) {
|
|||||||
>
|
>
|
||||||
<ImageDown />
|
<ImageDown />
|
||||||
</StyledButton>
|
</StyledButton>
|
||||||
<StyledButton
|
|
||||||
type="button"
|
|
||||||
$pressed={false}
|
|
||||||
onClick={() => {
|
|
||||||
// Add your onClick handler logic here
|
|
||||||
}}
|
|
||||||
disabled={!canEdit}
|
|
||||||
title={t("toolbar.new_button")}
|
|
||||||
>
|
|
||||||
{/* Add your button icon or text here */}
|
|
||||||
</StyledButton>
|
|
||||||
|
|
||||||
<ColorPicker
|
<ColorPicker
|
||||||
color={properties.fontColor}
|
color={properties.fontColor}
|
||||||
|
|||||||
Reference in New Issue
Block a user