react-lgpd-consent - v0.3.4
    Preparing search index...

    Interface FloatingPreferencesButtonProps

    Props para o componente FloatingPreferencesButton.

    Permite configurar posição, ícone, tooltip, e comportamento de exibição do botão flutuante para abrir o modal de preferências de cookies LGPD.

    Todos os campos são opcionais e possuem valores padrão.

    interface FloatingPreferencesButtonProps {
        FabProps?: Partial<FabProps>;
        hideWhenConsented?: boolean;
        icon?: ReactNode;
        offset?: number;
        position?: "bottom-left" | "bottom-right" | "top-left" | "top-right";
        tooltip?: string;
    }
    Index

    Properties

    FabProps?: Partial<FabProps>

    Props adicionais para o Fab do MUI

    hideWhenConsented?: boolean

    Se deve esconder quando consentimento já foi dado. Padrão: false

    icon?: ReactNode

    Ícone customizado. Padrão: CookieOutlined

    offset?: number

    Offset da borda em pixels. Padrão: 24

    position?: "bottom-left" | "bottom-right" | "top-left" | "top-right"

    Posição do botão flutuante. Padrão: 'bottom-right'

    tooltip?: string

    Tooltip customizado exibido ao passar o mouse