Sha256: 09cbe751287e047725709e51b93e2f41ef27a4b1d3a26a4ab8efa43e0ef12c77
Contents?: true
Size: 538 Bytes
Versions: 3
Compression:
Stored size: 538 Bytes
Contents
/* @flow */ import React from 'react' import classnames from 'classnames' import Caption from '../pb_caption/_caption.jsx' type SectionSeparatorProps = { className: String, text: String, variant?: 'card' | 'background' }; const SectionSeparator = ({ className, text, variant = 'card' }: SectionSeparatorProps) => { const css = classnames([`pb_section_separator_kit_${variant}`, className]) return (<div className={css}> <span> <Caption text={text}/> </span> </div>) } export default SectionSeparator
Version data entries
3 entries across 3 versions & 1 rubygems