@appbuckets/react-ui-smart-components
Version:
UI Extended Components that work with @appbuckets/react-client and @appbuckets/react-ui
14 lines (13 loc) • 428 B
TypeScript
import { SelectOption } from '@appbuckets/react-ui/Select';
import type {
SelectorComponent,
SelectBuilderConfig,
} from './SelectBuilder.types';
export default function buildSelector<
OptionType extends SelectOption,
ValueType = OptionType,
Props = {},
HookResult = undefined
>(
config: SelectBuilderConfig<OptionType, ValueType, Props, HookResult>
): SelectorComponent<OptionType, ValueType, Props, HookResult>;