UNPKG

components-switch

Version:

A lightweight React utility component library featuring Switch and Match for conditional rendering, inspired by SolidJS. Simplifies readable and declarative conditional logic in JSX.

6 lines (5 loc) 181 B
export { Switch } from './Switch'; export { Match } from './Match'; export * from './types'; export type { MatchProps } from './Match'; export type { SwitchProps } from './Switch';