Browse Source

error fix

czhen 3 years ago
parent
commit
b81450febd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      client/src/components/grid/Types.ts

+ 1 - 1
client/src/components/grid/Types.ts

@@ -41,7 +41,7 @@ export type ToolBarConfig = Partial<TableSwitchType> &
     // when disabled "disabledTooltip" will replace "tooltip"
     disabledTooltip?: string;
     hidden?: boolean;
-    type?: 'iconBtn' | 'buttton' | 'switch' | 'select' | 'groupSelect';
+    type?: 'iconBtn' | 'button' | 'switch' | 'select' | 'groupSelect';
     position?: 'right' | 'left';
     component?: ReactElement;
     btnVariant?: 'contained' | 'outlined' | 'text';