1
Fork 0
mirror of https://github.com/Steffo99/bluelib.git synced 2024-12-23 12:04:22 +00:00
bluelib/src/components/Underline/index.js
2021-03-23 18:15:30 +01:00

18 lines
434 B
JavaScript

import React from "react"
import useBluelibClassNames from "../../hooks/useBluelibClassNames"
import PropTypes from "prop-types"
export default function Underline({children, className, ...props}) {
return (
<u className={useBluelibClassNames("style-underline", className)} {...props}>
{children}
</u>
)
}
Underline.propTypes = {
children: PropTypes.node,
className: PropTypes.string,
}