/** * Renders the first child that matches the given `when` condition, or * a fallback in case of no match * * @type {FlowComponent<{ fallback?: JSX.Element }>} * @url https://pota.quack.uy/components/Switch */ export const Switch: FlowComponent<{ fallback?: JSX.Element; }>; /** * Renders the content if the `when` condition is true. Without a * `when` prop, acts as the internal fallback branch for `Switch`. * * @type {{ * (props: { * when: When * children: Children< * (value: SignalAccessor>>) => JSX.Element * > * }): JSX.Element * (props: { * when: When * children?: JSX.Element * }): JSX.Element * (props: { children?: JSX.Element }): JSX.Element * }} * @url https://pota.quack.uy/components/Match */ export const Match: { (props: { when: When; children: Children<(value: SignalAccessor>>) => JSX.Element>; }): JSX.Element; (props: { when: When; children?: JSX.Element; }): JSX.Element; (props: { children?: JSX.Element; }): JSX.Element; }; //# sourceMappingURL=Switch.d.ts.map