Perseus
    Preparing search index...
    type Props = {
        allowEmpty?: boolean;
        buttons: ReadonlyArray<
            { content: React.ReactNode; title?: string; value: any },
        >;
        onChange: (values?: any) => unknown;
        values: ReadonlyArray<any> | null | undefined;
    }
    Index

    Properties

    allowEmpty?: boolean

    If false, at least one button must be selected at all times.

    Defaults to true

    buttons: ReadonlyArray<{ content: React.ReactNode; title?: string; value: any }>

    The set of buttons to display in this MultiButtonGroup.

    onChange: (values?: any) => unknown

    A function that is provided with the updated set of selected value (which it then is responsible for updating)

    values: ReadonlyArray<any> | null | undefined

    The initial values of the buttons selected, defaults to null (no selection).