blob: f3650b006982adf9ec05793cfecb151180edb018 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
/**
* The Divider component is used to create a horizontal line or divider with a specific
* background color based on the provided className prop.
*
* @param {Object} props - Props that are passed to the Divider component.
* @param {string} props.className - Additional CSS classes to apply to the divider.
* @returns {JSX.Element} - Rendered Divider component.
*/
const Divider = (props) => <div className={`h-1 bg-gray_r-4 ${props.className}`} />
Divider.defaultProps = {
className: ''
}
export default Divider
|