16 lines
360 B
TypeScript
16 lines
360 B
TypeScript
|
|
import classNames from "classnames";
|
||
|
|
|
||
|
|
interface Props {
|
||
|
|
children: string;
|
||
|
|
className?: string;
|
||
|
|
}
|
||
|
|
|
||
|
|
const SectionTitle = ({ children, className }: Props) => {
|
||
|
|
const style = classNames("block font-size-18 uppercase w-full pl-2 text-accent-blue",
|
||
|
|
className
|
||
|
|
)
|
||
|
|
|
||
|
|
return <h2 className={style}>{ children }</h2>
|
||
|
|
}
|
||
|
|
|
||
|
|
export default SectionTitle
|