The vanilla alternative for writing JSX-based React applications
git clone git://soophie.de/figure
blob: 2810e07683983da7fe091413c8260742ea56878a (508 bytes)[doc][blame][raw]
1
export type ReactElement = unknown;2
export type ReactFunction = (props: unknown) => ReactElement;3
export type CreateElement = (element: ReactFunction | string, props?: Props, ...children: ReactElement[]) => ReactElement;5
export type Options = { createElement: CreateElement };6
export type Refs = Record<string, unknown>;7
export type Props = Record<string, unknown>;8
export type Slices = TemplateStringsArray;9
export type Values = unknown[];11
export interface Dict {12
[key: string]: ReactFunction | Dict;13
}