UNPKG

@synergycodes/axiom

Version:

A React library for creating node-based UIs and diagram-driven applications. Perfect for React Flow users, providing ready-to-use node templates and components that work seamlessly with React Flow's ecosystem.

11 lines (10 loc) 465 B
import { BaseSwitchProps } from '../switch'; import { ReactNode } from 'react'; import { WithIcon } from '../../../shared/types/with-icon'; type IconSwitchProps = WithIcon & { IconChecked: ReactNode; variant?: Variant; } & BaseSwitchProps; type Variant = 'primary' | 'secondary'; export declare function IconSwitch({ icon, IconChecked, className, checked, variant, onChange, ...props }: IconSwitchProps): import("react/jsx-runtime").JSX.Element; export {};