@flexis/ui
Version:
Styleless React Components
23 lines • 846 B
TypeScript
import { HTMLAttributes, ReactNode, PureComponent } from 'react';
import PropTypes from 'prop-types';
import { CombinePropsAndAttributes } from '../../../helpers';
import { Placement, Align, AlignVariant } from '../../common/types';
interface ISelfProps {
placement: Placement;
align?: Align;
children: ReactNode;
}
export declare type IProps = CombinePropsAndAttributes<ISelfProps, HTMLAttributes<HTMLSpanElement>>;
export default class BadgeContainer extends PureComponent<IProps> {
static propTypes: {
placement: PropTypes.Validator<Placement>;
align: PropTypes.Requireable<LineAlignSetting>;
children: PropTypes.Validator<PropTypes.ReactNodeLike>;
};
static defaultProps: {
align: AlignVariant;
};
render(): JSX.Element;
}
export {};
//# sourceMappingURL=BadgeContainer.d.ts.map