docs(changeset): Extra api options, local data options
This commit is contained in:
@@ -93,6 +93,7 @@ export interface GridlerProps extends PropsWithChildren {
|
||||
bottom?: React.ReactNode;
|
||||
left?: React.ReactNode;
|
||||
right?: React.ReactNode;
|
||||
rightElementDisabled?: boolean;
|
||||
rightElementEnd?: React.ReactNode;
|
||||
rightElementStart?: React.ReactNode;
|
||||
top?: React.ReactNode;
|
||||
@@ -100,6 +101,7 @@ export interface GridlerProps extends PropsWithChildren {
|
||||
selectedRow?: number;
|
||||
selectMode?: 'cell' | 'row';
|
||||
showMenu?: (id: string, options?: Partial<MantineBetterMenuInstance>) => void;
|
||||
title?: string;
|
||||
tooltipBarProps?: React.HTMLAttributes<HTMLDivElement>;
|
||||
total_rows?: number;
|
||||
uniqueid: string;
|
||||
@@ -426,13 +428,10 @@ const { Provider, useStore: useGridlerStore } = createSyncStore<GridlerStoreStat
|
||||
|
||||
const items =
|
||||
area === 'menu'
|
||||
? [
|
||||
{
|
||||
label: `Side menu`,
|
||||
},
|
||||
]
|
||||
? [{ leftSection: <IconGrid4x4 size={16} />, title: s.title ?? 'Grid' }]
|
||||
: coldef
|
||||
? [
|
||||
{ leftSection: <IconGrid4x4 size={16} />, title: s.title ?? 'Grid' },
|
||||
{
|
||||
items: [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user