@smart-react-components/ui
Version:
SRC UI includes React and Styled components.
15 lines (14 loc) • 732 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 { ContentElement, JSXElementProps, PaletteProp, Partial, ResponsiveProp, ShapeProp, SizeProp } from '@smart-react-components/core/types';
import React from 'react';
export interface Props extends Partial<ResponsiveProp<'size', SizeProp>>, ClickEvents, IntrinsicStyledCoreProps {
children: ContentElement | ContentElement[];
elementProps?: JSXElementProps;
isOutline?: boolean;
isSoft?: boolean;
palette?: PaletteProp;
shape?: ShapeProp;
}
declare const Alert: React.FC<Props>;
export default Alert;