The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:
TypeScript analyticsbibusiness-intelligencebusinessintelligenceclojuredashboarddatadata-analysisdata-visualizationdatabasemetabasemysqlpostgrespostgresqlreportingslacksql-editorvisualization
type DashCardMenuItem = {
children?: ReactNode;
closeMenuOnClick?: boolean;
color?: MantineColor;
disabled?: boolean;
iconName: IconName;
label: string;
leftSection?: ReactNode;
onClick: () => void;
rightSection?: ReactNode;
};
Properties
| Property | Type | Description |
|---|---|---|
children? |
ReactNode |
Item children |
closeMenuOnClick? |
boolean |
Determines whether the menu should be closed when the item is clicked, overrides closeOnItemClick prop on the Menu component |
color? |
MantineColor |
Key of theme.colors or any valid CSS color |
disabled? |
boolean |
Disables item |
iconName |
IconName |
Icon name |
label |
string |
Item label |
leftSection? |
ReactNode |
Section displayed on the left side of the label |
onClick |
() => void |
Click handler |
rightSection? |
ReactNode |
Section displayed on the right side of the label |