1
Fork 0
mirror of https://github.com/Steffo99/bluelib.git synced 2024-12-23 12:04:22 +00:00
bluelib/src/components/Paragraph/index.js

19 lines
418 B
JavaScript
Raw Normal View History

2021-01-25 18:37:58 +00:00
import React from "react";
import useBluelibClassNames from "../../hooks/useBluelibClassNames";
import PropTypes from "prop-types";
export default function Paragraph({children, className}) {
return (
<p className={useBluelibClassNames("element-paragraph", className)}>
{children}
</p>
)
}
Paragraph.propTypes = {
children: PropTypes.node,
className: PropTypes.string,
}