package.es.hooks.useBaseProps.d.ts Maven / Gradle / Ivy
The newest version!
/**
* BaseSelect provide some parsed data into context.
* You can use this hooks to get them.
*/
import * as React from 'react';
import type { BaseSelectProps } from '../BaseSelect';
export interface BaseSelectContextProps extends BaseSelectProps {
triggerOpen: boolean;
multiple: boolean;
toggleOpen: (open?: boolean) => void;
}
export declare const BaseSelectContext: React.Context;
export default function useBaseProps(): BaseSelectContextProps;
© 2015 - 2024 Weber Informatics LLC | Privacy Policy