Interface AriaDisclosure

interface AriaDisclosure {
    contentProps: HTMLAttributes<any>;
    state: {
        isVisible: boolean;
    };
    toggleProps: HTMLAttributes<any>;
}

Properties

contentProps: HTMLAttributes<any>

The content element properties.

state: {
    isVisible: boolean;
}

The current state of the disclosure.

Type declaration

  • isVisible: boolean
toggleProps: HTMLAttributes<any>

The toggle button properties.

Generated using TypeDoc