UNPKG

@hhgtech/hhg-components

Version:
15 lines (14 loc) 471 B
import React, { CSSProperties } from 'react'; export type Props = { id: string; checked: boolean; className?: string; style?: CSSProperties; label?: string; onChange?: () => void; }; /** * @deprecated Consider to use {@link Switch} at {@link https://www.npmjs.com/package/@hhgtech/hhg-components/mantine} */ declare const Toggle: ({ className, id, onChange, checked, style, label }: Props) => React.JSX.Element; export { Toggle };