Files
pole-book/server/node_modules/@strapi/design-system/dist/components/Switch/Switch.d.ts

11 lines
438 B
TypeScript

import * as React from 'react';
import * as Switch from '@radix-ui/react-switch';
interface SwitchProps extends Omit<Switch.SwitchProps, 'children'> {
onLabel?: string;
offLabel?: string;
visibleLabels?: boolean;
}
declare const SwitchImpl: React.ForwardRefExoticComponent<SwitchProps & React.RefAttributes<HTMLButtonElement>>;
export { SwitchImpl as Switch };
export type { SwitchProps };
//# sourceMappingURL=Switch.d.ts.map