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