@smart-react-components/ui
Version:
SRC UI includes React and Styled components.
18 lines (17 loc) • 927 B
TypeScript
import { ClickEvents } from '@smart-react-components/core/element-props/click-events';
import { IntrinsicStyledCoreProps } from '@smart-react-components/core/element-props/intrinsic-styled-core-props';
import { IntrinsicStyledPositionProps } from '@smart-react-components/core/element-props/intrinsic-styled-position-props';
import { ContentElement, JSXElementProps, PaletteProp, ResponsiveProp, ShapeProp, SizeProp } from '@smart-react-components/core/types';
import React from 'react';
export interface Props extends Partial<ResponsiveProp<'size', SizeProp>>, ClickEvents, IntrinsicStyledCoreProps, IntrinsicStyledPositionProps {
children: ContentElement | ContentElement[];
elementProps?: JSXElementProps;
hasSpace?: boolean;
isFixedSize?: boolean;
isOutline?: boolean;
isSoft?: boolean;
palette?: PaletteProp;
shape?: ShapeProp;
}
declare const Badge: React.FC<Props>;
export default Badge;