finform-react-builder
Version:
A powerful, flexible React form builder with dynamic field rendering, custom validation, multi-step forms, Material-UI integration, image component support, toggle/radio buttons, switches, autocomplete, and advanced button positioning
20 lines (19 loc) • 781 B
TypeScript
import { default as React } from 'react';
import { ChipProps } from '@mui/material';
export type FinChipTone = 'soft' | 'solid' | 'outlined';
export interface FinChipProps extends Omit<ChipProps, 'color' | 'variant'> {
/**
* Main color for the chip. Accepts hex (e.g. #005B35),
* or semantic keys 'primary' | 'secondary' | 'success' | 'error' | 'warning' | 'info' | 'neutral'.
*/
colorKey?: 'primary' | 'secondary' | 'success' | 'error' | 'warning' | 'info' | 'neutral';
colorHex?: string;
tone?: FinChipTone;
/** Background opacity for soft tone (0..1) */
bgAlpha?: number;
/** Border opacity for soft tone (0..1) */
borderAlpha?: number;
sx?: any;
}
export declare const FinChip: React.FC<FinChipProps>;
export default FinChip;