12 lines
250 B
TypeScript
12 lines
250 B
TypeScript
import { FunctionComponent } from 'react'
|
|
|
|
type Props = {
|
|
className?: string
|
|
}
|
|
|
|
const Title: FunctionComponent<Props> = ({ children, className }) => {
|
|
return <div className={`sn-title ${className ?? ''}`}>{children}</div>
|
|
}
|
|
|
|
export default Title
|