mirror of
https://github.com/Steffo99/bluelib.git
synced 2024-12-24 20:44:21 +00:00
19 lines
416 B
JavaScript
19 lines
416 B
JavaScript
|
import React from "react";
|
||
|
import useBluelibClassNames from "../../hooks/useBluelibClassNames";
|
||
|
import PropTypes from "prop-types";
|
||
|
|
||
|
|
||
|
export default function Underline({children, className}) {
|
||
|
return (
|
||
|
<u className={useBluelibClassNames("style-underline", className)}>
|
||
|
{children}
|
||
|
</u>
|
||
|
)
|
||
|
}
|
||
|
|
||
|
|
||
|
Underline.propTypes = {
|
||
|
children: PropTypes.node,
|
||
|
className: PropTypes.string,
|
||
|
}
|