Spaces:
Build error
Build error
File size: 457 Bytes
a8b3f00 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
import type { CSSProperties, FC } from 'react'
import React from 'react'
import s from './style.module.css'
type Props = {
type?: 'horizontal' | 'vertical'
// orientation?: 'left' | 'right' | 'center'
className?: string
style?: CSSProperties
}
const Divider: FC<Props> = ({ type = 'horizontal', className = '', style }) => {
return (
<div className={`${s.divider} ${s[type]} ${className}`} style={style}></div>
)
}
export default Divider
|