@dxos/react-ui
    Preparing search index...

    Type Alias CaseProps<T>

    type CaseProps<T> = {
        children?: ReactNode;
        when: T | ((value: T) => boolean);
    }

    Type Parameters

    • T
    Index

    Properties

    Properties

    children?: ReactNode
    when: T | ((value: T) => boolean)

    Matched by strict equality with on, or by a predicate on it.