14 行
246 B
TypeScript
14 行
246 B
TypeScript
import React from 'react'
|
|
|
|
import type { FC } from 'react'
|
|
|
|
type Props = { children: React.ReactNode }
|
|
|
|
|
|
const SubsectionTitle: FC<Props> = ({ children }) => (
|
|
<h3 className="my-2">
|
|
{children}
|
|
</h3>)
|
|
|
|
export default SubsectionTitle
|