Home > @uniformdev/design-system > PopoverProps

PopoverProps type

Signature:

type PopoverProps = Omit<PopoverProps$1, 'unmountOnHide'> & {
    iconColor?: IconColor;
    icon?: IconType;
    iconSize?: string;
    ariaLabel?: string;
    buttonText: string;
    placement?: PopoverProviderProps['placement'];
    testId?: string;
    children: ReactNode;
    trigger?: ReactNode;
    onInit?: ({ store }: {
        store: PopoverStore;
    }) => void;
    maxWidth?: string;
    variant?: 'large' | 'small';
};

References: IconColor, IconType