Represents a feature group that can contain multiple features.

interface IFeatureGroup<Data extends IAnything = IAnything, Payload = IAnything> {
    children: IFeature<Data, Payload>[];
    expanded?: boolean;
    isDisabled?: (v: Data, payload: Payload) => boolean;
    isVisible?: (v: Data, payload: Payload) => boolean;
    title: string;
}

Type Parameters

  • Data extends IAnything = IAnything

    The type of data associated with the feature group.

  • Payload = IAnything

    The type of payload associated with the feature group.

Properties

children: IFeature<Data, Payload>[]
expanded?: boolean
isDisabled?: (v: Data, payload: Payload) => boolean
isVisible?: (v: Data, payload: Payload) => boolean
title: string