Hex Core JS
    Preparing search index...

    Type Alias ExpandableProps

    ExpandableProps: {
        collapsedHeight?: CSSPropertyValue;
        fadeColor?: CSSPropertyValue;
        isExpanded: boolean;
        noScroll?: boolean;
        overflows: boolean;
        setOverflows: React.Dispatch<React.SetStateAction<boolean>>;
    } & Partial<ClassNameProps & StyleProps & ChildrenProps>

    Type Declaration

    • OptionalcollapsedHeight?: CSSPropertyValue

      Max height of the content when collapsed.

    • OptionalfadeColor?: CSSPropertyValue

      Fade color for overflow, should match the background color of the content.

    • isExpanded: boolean

      Collapsed state for content.

    • OptionalnoScroll?: boolean

      Disables scrolling in the content area when collapsed.

    • overflows: boolean

      Indicates whether the content overflows its container when collapsed. Use Expandable.useExpandable.

    • setOverflows: React.Dispatch<React.SetStateAction<boolean>>

      Set state function for overflows. Use Expandable.useExpandable.