Function: getPatternMatch
▸ Const
getPatternMatch<Shape
>(value?
): Object
Type parameters
Name | Type |
---|---|
Shape | extends Object |
Parameters
Name | Type |
---|---|
value? | Shape |
Returns
Object
Name | Type |
---|---|
Exact | ComponentType <ExactProps <Shape >> |
Match | ComponentType <MatchProps <Shape >> |
Otherwise | (props : OtherwiseProps ) => Element |
Switch | ComponentType <SwitchProps <Shape >> |
When | ComponentType <WhenProps <Shape >> |
With | ComponentType <WithProps <Shape >> |
Defined in
src/utils/pattern-match.ts:17