Birch UI v0.1
Pricing

@birchui/react

React components for the grid and scheduler.

Open .md
npm install @birchui/reactLicense: MIT

Key exports: BirchGrid, BirchScheduler

Guides: React

@birchui/react#

createReactComponentfunction#

function createReactComponent<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/react/src/create-component.tsx:47

BirchGridconst#

const BirchGrid: BirchGridComponent

Defined in packages/react/src/index.ts:20

BirchGridComponentinterface#

interface BirchGridComponent
<TRow = RowData>(props: BirchGridProps<TRow>): ReactNode
PropertyTypeDescription
displayNameoptionalstring—

Defined in packages/react/src/index.ts:15

BirchComponenttype#

type BirchComponent<TOptions, TEvents extends object, TWidget> = ForwardRefExoticComponent<
  PropsWithoutRef<BirchComponentProps<TOptions, TEvents>> & RefAttributes<TWidget>
>;

Defined in packages/react/src/create-component.tsx:25

BirchComponentPropstype#

type BirchComponentProps<TOptions, TEvents extends object> = TOptions &
  EventHandlerProps<TEvents> & {
    className?: string;
    style?: CSSProperties;
    id?: string;
  };

Defined in packages/react/src/create-component.tsx:18

BirchGridPropstype#

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

Defined in packages/react/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/react/src/create-component.tsx:14

@birchui/react/document#

BirchDocumentEditorconst#

const BirchDocumentEditor: BirchComponent<DocumentEditorOptions, DocumentEditorEvents, DocumentEditorApi>

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

@birchui/react/pdf#

BirchPdfViewerconst#

const BirchPdfViewer: BirchComponent<PdfViewerOptions, PdfViewerEvents, PdfViewerApi>

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

@birchui/react/scheduler#

BirchSchedulerconst#

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

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

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