UNPKG

@base-ui-components/react

Version:

Base UI is a library of headless ('unstyled') React components and low-level hooks. You gain complete control over your app's CSS and accessibility features.

2 lines 297 B
export type CustomStyleHookMapping<State> = { [Property in keyof State]?: (state: State[Property]) => Record<string, string> | null }; export declare function getStyleHookProps<State extends Record<string, any>>(state: State, customMapping?: CustomStyleHookMapping<State>): Record<string, string>;