@b1dr/xip-ui
Version:
A UI library for SolidJS with Themescura
9 lines (8 loc) • 310 B
TypeScript
import { JSX } from "solid-js/jsx-runtime";
interface SwitchProps extends JSX.InputHTMLAttributes<HTMLInputElement> {
label?: string;
checked: boolean;
onChange: JSX.ChangeEventHandlerUnion<HTMLInputElement, Event>;
}
export declare const SwitchInp: (props: SwitchProps) => JSX.Element;
export {};