@hope-ui/solid
Version:
The SolidJS component library you've hoped for.
8 lines • 541 B
TypeScript
import { ElementType, HTMLHopeProps } from "../types";
export declare type SwitchPrimitiveThumbProps<C extends ElementType = "span"> = HTMLHopeProps<C>;
/**
* The thumb that is used to visually indicate whether the switch is on or off.
* You can style this element directly, or you can use it as a wrapper to put an icon into, or both.
*/
export declare function SwitchPrimitiveThumb<C extends ElementType = "span">(props: SwitchPrimitiveThumbProps<C>): import("solid-js").JSX.Element;
//# sourceMappingURL=switch-primitive-thumb.d.ts.map