import { PropsWithChildren } from 'react'; import { FlowComponentProps } from '../../lib/componentFactory/flowComponent'; import * as Aria from "react-aria-components"; export interface SwitchProps extends PropsWithChildren>, FlowComponentProps { /** * Whether the label should appear before or after the switch. @default * "trailing" */ labelPosition?: "leading" | "trailing"; } /** @flr-generate all */ export declare const Switch: import('react').FunctionComponent>; export default Switch;