Components
Dividers that separate sections of content.
Version: | 11.1.1 •View source•Changelog•Report issue | |
---|---|---|
Install: | yarn add @thumbtack/thumbprint-react | |
Import: | import { HorizontalRule } from '@thumbtack/thumbprint-react'; |
HorizontalRule
line stylesHorizontalRule
default to Thumbtack’s gray
color. You can use gray-300
instead by setting the color
prop.
lineStyle
Renders the horizontal rule with the thumbtack styles.
oneOf([
'solid',
'dotted',
'dashed',
])
'solid'
color
oneOf([
'gray',
'gray-300',
])
'gray'