@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.
4 lines (3 loc) • 358 B
TypeScript
import * as React from 'react';
import type { BaseUIComponentProps } from './types.js';
export declare function evaluateRenderProp<ElementType extends React.ElementType, State>(render: BaseUIComponentProps<ElementType, State>['render'], props: React.HTMLAttributes<any> & React.RefAttributes<any>, state: State): React.ReactElement<Record<string, unknown>>;