UNPKG

@teamsnap/teamsnap-ui

Version:

a CSS component library for TeamSnap

36 lines (35 loc) 1.12 kB
/** * @name Divider * * @description * A divider component is used as a horizontal rule and spacing element to separate content. See the teamsnap patterns * library for more information. https://teamsnap-ui-patterns.netlify.com/patterns/components/divider.html * * @example * <Divider isThick /> * */ import * as React from "react"; import * as PropTypes from "prop-types"; declare class Divider extends React.PureComponent<PropTypes.InferProps<typeof Divider.propTypes>, any> { static propTypes: { isIndented: PropTypes.Requireable<boolean>; isSpaced: PropTypes.Requireable<boolean>; isThick: PropTypes.Requireable<boolean>; className: PropTypes.Requireable<string>; mods: PropTypes.Requireable<string>; style: PropTypes.Requireable<object>; otherProps: PropTypes.Requireable<object>; }; static defaultProps: { isIndented: boolean; isSpaced: boolean; isThick: boolean; className: string; mods: any; style: {}; otherProps: {}; }; render(): JSX.Element; } export default Divider;