UNPKG

@smart-react-components/ui

Version:
21 lines (20 loc) 821 B
import { IntrinsicStyledCoreProps } from '@smart-react-components/core/element-props/intrinsic-styled-core-props'; import { PaletteProp, Partial, ResponsiveProp, SetState, SizeProp } from '@smart-react-components/core/types'; import React from 'react'; import { FormValue, OrderPosition } from '../types'; export { OrderPosition as Position } from '../types'; export interface Props extends Partial<ResponsiveProp<'size', SizeProp>>, IntrinsicStyledCoreProps { active: FormValue; children: JSX.Element[]; isBlock?: boolean; isOutline?: boolean; isRequired?: boolean; isSoft?: boolean; name?: string; palette?: PaletteProp; position?: OrderPosition; setActive: SetState<FormValue>; template?: JSX.Element; } declare const RadioGroup: React.FC<Props>; export default RadioGroup;