@refinio/one.ui
    Preparing search index...
    • Represents a collapsible component.

      Parameters

      • props: {
            content: ReactElement;
            headline: ReactElement;
            headlineStateAddon?: ReactElement<
                unknown,
                string
                | JSXElementConstructor<any>,
            >;
            initialState?: boolean;
            type?: CollapsibleComponentType;
        }
        • content: ReactElement

          represents the content of the component which can be expanded/collapsed.

        • headline: ReactElement

          represents the component that is displayed inline with the expand/collapse arrow.

        • OptionalheadlineStateAddon?: ReactElement<unknown, string | JSXElementConstructor<any>>

          addon element, next to state indicator.

        • OptionalinitialState?: boolean

          Default true - represents the content of the component which can be expanded/collapsed.

        • Optionaltype?: CollapsibleComponentType

          Default 'single' - represents the content of the component which can be expanded/collapsed.

      Returns ReactElement