import type { FC, PropsWithChildren, ReactNode } from 'react';
export type FCC
= FC>;
export type Option = {
label: ReactNode;
value: T;
};
export type AutoCompleteOption = {
label: ReactNode;
value: T;
searchValue: string;
};
export type ReactNodeExcluded = Exclude | (string & {});
export type NumberExcluded = number & {};
export type ElementProps = Omit<
React.ComponentPropsWithoutRef,
PropsToOmit
>;
export interface VisibleState {
/** Controllable component open state */
open?: boolean;
/** Controllable component open state */
defaultOpen?: boolean;
/** Callback fired when open state changes */
onOpenChange?: (open: boolean) => void;
}