mirror of
https://github.com/Steffo99/bluelib.git
synced 2024-12-23 03:54:21 +00:00
18 lines
436 B
JavaScript
18 lines
436 B
JavaScript
import React from "react"
|
|
import useBluelibClassNames from "../../hooks/useBluelibClassNames"
|
|
import PropTypes from "prop-types"
|
|
|
|
|
|
export default function Paragraph({children, className, ...props}) {
|
|
return (
|
|
<p className={useBluelibClassNames("element-paragraph", className)} {...props}>
|
|
{children}
|
|
</p>
|
|
)
|
|
}
|
|
|
|
|
|
Paragraph.propTypes = {
|
|
children: PropTypes.node,
|
|
className: PropTypes.string,
|
|
}
|