fix: get triggers up to spec

This commit is contained in:
Taranto 2020-08-08 12:05:52 +01:00 committed by Josh Harvey
parent b07c0e180a
commit 0b28e7f98a
22 changed files with 347 additions and 95 deletions

View file

@ -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,