UNPKG

@visa/nova-react

Version:

Visa Product Design System Nova React library

22 lines (21 loc) 840 B
import { ElementType, ForwardedRef } from 'react'; export type ToggleProperties = { /** @ignore */ className?: string; /** Icons only toggle button */ iconOnly?: boolean; /** Tag of Component */ tag?: ElementType; }; /** * Selection element that allows users to switch between states or views. * @docs {@link https://design.visa.com/react/components/toggle-button | See Docs} * @related toggle-container * @vgar TODO * @wcag TODO */ declare const _default: <HTMLElementType = HTMLLabelElement>(props: { children?: import("react").ReactNode | import("react").ReactNode[]; ref?: ForwardedRef<HTMLElementType> | undefined; } & import("react").AllHTMLAttributes<HTMLElementType> & import("react").SVGAttributes<HTMLElementType> & ToggleProperties) => import("react").ReactElement; export default _default;