fix: get triggers up to spec
This commit is contained in:
parent
b07c0e180a
commit
0b28e7f98a
22 changed files with 347 additions and 95 deletions
|
|
@ -66,6 +66,21 @@ function H4({ children, noMargin, className, ...props }) {
|
|||
)
|
||||
}
|
||||
|
||||
function H5({ children, noMargin, className, ...props }) {
|
||||
const classes = useStyles()
|
||||
const classNames = {
|
||||
[classes.h5]: true,
|
||||
[classes.noMargin]: noMargin,
|
||||
[className]: !!className
|
||||
}
|
||||
|
||||
return (
|
||||
<h5 className={classnames(classNames)} {...props}>
|
||||
{children}
|
||||
</h5>
|
||||
)
|
||||
}
|
||||
|
||||
const P = pBuilder('p')
|
||||
const Info1 = pBuilder('info1')
|
||||
const Info2 = pBuilder('info2')
|
||||
|
|
@ -99,6 +114,7 @@ export {
|
|||
H2,
|
||||
H3,
|
||||
H4,
|
||||
H5,
|
||||
TL1,
|
||||
TL2,
|
||||
P,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue