Birch UI v0.1
Pricing

@birchui/solid

Solid components for the grid and scheduler.

Open .md
npm install @birchui/solidLicense: MIT

Key exports: BirchGrid, BirchScheduler

Guides: Solid

@birchui/solid#

createSolidComponentfunction#

function createSolidComponent<TOptions, TEvents extends object, TWidget extends Widget<TOptions, TEvents>>(definition: WidgetDefinition<TOptions, TEvents, TWidget>): BirchComponent<TOptions, TEvents, TWidget>
ParameterTypeDescription
definitionWidgetDefinition<TOptions, TEvents, TWidget>—

Defined in packages/solid/src/create-component.ts:42

BirchGridconst#

const BirchGrid: BirchGridComponent

Defined in packages/solid/src/index.ts:16

BirchComponenttype#

type BirchComponent<TOptions, TEvents extends object, TWidget> = (
  props: BirchComponentProps<TOptions, TEvents, TWidget>,
) => JSX.Element;

Defined in packages/solid/src/create-component.ts:17

BirchComponentPropstype#

type BirchComponentProps<TOptions, TEvents extends object, TWidget> = TOptions &
  EventHandlerProps<TEvents> & {
    class?: string;
    style?: JSX.CSSProperties | string;
    id?: string;
    ref?: TWidget | ((api: TWidget) => void);
  };

Defined in packages/solid/src/create-component.ts:9

BirchGridComponenttype#

type BirchGridComponent = <TRow = RowData>(props: BirchGridProps<TRow>) => JSX.Element;

Defined in packages/solid/src/index.ts:14

BirchGridPropstype#

type BirchGridProps<TRow = RowData> = BirchComponentProps<GridOptions<TRow>, GridEvents<TRow>, GridApi<TRow>>;

Defined in packages/solid/src/index.ts:12

EventHandlerPropstype#

type EventHandlerProps<TEvents extends object> = {
  [K in keyof TEvents & string as `on${Capitalize<K>}`]?: (payload: TEvents[K]) => void;
};

Defined in packages/solid/src/create-component.ts:5

@birchui/solid/document#

BirchDocumentEditorconst#

const BirchDocumentEditor: BirchComponent<DocumentEditorOptions, DocumentEditorEvents, DocumentEditorApi>

Defined in packages/solid/src/document.ts:9

@birchui/solid/pdf#

BirchPdfViewerconst#

const BirchPdfViewer: BirchComponent<PdfViewerOptions, PdfViewerEvents, PdfViewerApi>

Defined in packages/solid/src/pdf.ts:4

@birchui/solid/scheduler#

BirchSchedulerconst#

const BirchScheduler: BirchComponent<SchedulerOptions<SchedulerEvent, SchedulerResource>, SchedulerEvents<SchedulerEvent, SchedulerResource>, SchedulerApi<SchedulerEvent, SchedulerResource>>

Defined in packages/solid/src/scheduler.ts:4

↑ ↓ to move, Enter to open, Esc to close