We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2408ea6 commit 075ecceCopy full SHA for 075ecce
packages/match/src/index.ts
@@ -61,6 +61,7 @@ export function MatchTag(props: any): any {
61
const kind = createMemo(() => props.on?.[props.tag ?? 'type'])
62
return createMemo(() => props.case[kind()]?.(() => props.on) ?? props.fallback)
63
}
64
+export {MatchTag as MatchField}
65
66
/**
67
* Control-flow component for matching union literals.
0 commit comments