6 lines
214 B
TypeScript
6 lines
214 B
TypeScript
import { FunctionComponent } from 'preact'
|
|
|
|
export const Title: FunctionComponent<{ className?: string }> = ({ children, className }) => {
|
|
return <div className={`sn-title ${className ?? ''}`}>{children}</div>
|
|
}
|