carbon-react
Version:
A library of reusable React components for easily building user interfaces.
16 lines (15 loc) • 640 B
TypeScript
import type { ThemeObject } from "../../style/themes/theme.types";
import { SwitchProps } from "./switch.component";
interface StyledSwitchProps extends Pick<SwitchProps, "fieldHelpInline" | "labelInline" | "reverse" | "size"> {
theme: ThemeObject;
validationRedesignOptIn?: boolean;
}
export declare const ErrorBorder: import("styled-components").StyledComponent<"span", any, {
reverse: boolean;
warning: boolean;
isDarkBackground: boolean;
}, never>;
declare const StyledSwitch: import("styled-components").StyledComponent<"div", any, {
theme: object;
} & StyledSwitchProps, "theme">;
export default StyledSwitch;