import { ThemeTypes } from '@viasat/beam-shared/utils/constants'; import { TextPosition } from '@viasat/beam-shared/components/switch'; import { default as React } from 'react'; export interface SwitchProps extends React.ComponentPropsWithRef<'input'> { /** * Specify a side label for the “on” position. If onText is not specified, side label defaults to offText value. * */ onText?: React.ReactNode; /** * Specify a side label for the “off” position. If offText is not specified, side label defaults to onText value. */ offText?: React.ReactNode; /** * Specify the position of the side label * @default 'after' */ textPosition?: TextPosition; /** * Specify if Switch displays in a read-only state * @default false * */ readOnly?: boolean; /** * Specify if Switch displays in a disabled state * @default false */ disabled?: boolean; /** * Specify the theme of the Alert. By default it inherits the theme from the parent */ theme?: ThemeTypes; } export declare const Switch: React.ForwardRefExoticComponent & React.RefAttributes>;