wass-rct-ui
Version:
A lightweight and customizable WASS Rct UI component library for modern web applications.
20 lines (19 loc) • 632 B
TypeScript
/**
* @file wass-rct-ui
* @description A reusable Title component that supports dynamic heading levels.
* @author Web Apps Software Solutions
* @copyright © 2024 Web Apps Software Solutions. All rights reserved.
* @license MIT
* @repository https://github.com/WebAppSoftNK/wass-rct-ui
*/
import * as React from "react";
import { BGColorVariant } from "../types";
export interface SwitchProps {
className?: string;
activeColor?: BGColorVariant;
inactiveColor?: BGColorVariant;
skeleton?: boolean;
onChange: (checked: boolean) => void;
}
declare const Switch: React.FC<SwitchProps>;
export default Switch;