@smart-react-components/ui
Version:
SRC UI includes React and Styled components.
23 lines (22 loc) • 939 B
TypeScript
import { IntrinsicStyledCoreProps } from '@smart-react-components/core/element-props/intrinsic-styled-core-props';
import { ContentElement, 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;
isBlock?: boolean;
isDisabled?: boolean;
isOutline?: boolean;
isRequired?: boolean;
isSoft?: boolean;
label?: ContentElement;
name?: string;
palette?: PaletteProp;
position?: OrderPosition;
setActive?: SetState<FormValue>;
template?: JSX.Element;
value: FormValue;
}
declare const Radio: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLInputElement>>;
export default Radio;