carbon-react
Version:
A library of reusable React components for easily building user interfaces.
13 lines (12 loc) • 521 B
TypeScript
import React from "react";
import { ValidationProps } from "../../../__internal__/validations";
export interface SwitchSliderProps extends ValidationProps {
checked?: boolean;
disabled?: boolean;
loading?: boolean;
size?: "small" | "large";
useValidationIcon?: boolean;
isDarkBackground?: boolean;
}
declare const SwitchSlider: ({ checked, disabled, loading, size, error, warning, info, useValidationIcon, isDarkBackground, }: SwitchSliderProps) => React.JSX.Element;
export default SwitchSlider;