UNPKG

@amsterdam/design-system-react

Version:

All React components from the Amsterdam Design System. Use it to compose pages in your website or application.

13 lines (12 loc) 572 B
/** * @license EUPL-1.2+ * Copyright Gemeente Amsterdam */ import type { InputHTMLAttributes, PropsWithChildren } from 'react'; export type SwitchProps = PropsWithChildren<InputHTMLAttributes<HTMLInputElement>>; /** * @see {@link https://designsystem.amsterdam/?path=/docs/components-forms-switch--docs Switch docs at Amsterdam Design System} */ export declare const Switch: import("react").ForwardRefExoticComponent<InputHTMLAttributes<HTMLInputElement> & { children?: import("react").ReactNode | undefined; } & import("react").RefAttributes<HTMLInputElement>>;