UNPKG

ds-smart-ui

Version:

Smart UI v1.0.5 — A production-ready React component library by PT Praisindo Teknologi. Covers inputs, navigation, data display, feedback, and layout with a unified design system, semantic Typography tokens, and full Storybook documentation.

23 lines (22 loc) 937 B
import { FormColorTypes, FormSizeTypes, FormRoundedTypes } from '../../../types/form-types'; export interface ToggleButtonProps { checked?: boolean; onChange?: (value: boolean) => void; size?: FormSizeTypes; color?: FormColorTypes; rounded?: FormRoundedTypes; variant?: "contained" | "outlined" | "soft" | "soft-outlined" | "transparent" | "link" | "dashed"; variantUnchecked?: "contained" | "outlined" | "soft" | "soft-outlined" | "transparent" | "link" | "dashed"; noText?: string; yesText?: string; startIconYes?: React.ReactNode; startIconNo?: React.ReactNode; label?: string; required?: boolean; disabled?: boolean; labelPosition?: "top" | "left" | "right"; helperText?: string; id?: string; } declare const ToggleButton: import('react').ForwardRefExoticComponent<ToggleButtonProps & import('react').RefAttributes<HTMLButtonElement>>; export default ToggleButton;