@smart-react-components/ui
Version:
SRC UI includes React and Styled components.
22 lines (21 loc) • 867 B
TypeScript
import { IntrinsicStyledCoreProps } from '@smart-react-components/core/element-props/intrinsic-styled-core-props';
import { PaletteProp, Partial, ResponsiveProp, SetState, ShapeProp, 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[]>;
shape?: ShapeProp;
template?: JSX.Element;
}
declare const CheckboxGroup: React.FC<Props>;
export default CheckboxGroup;