6 lines
147 B
TypeScript
6 lines
147 B
TypeScript
import React from 'react';
|
|
interface Props {
|
|
children: React.ReactNode;
|
|
}
|
|
export const PageTitle = ({ children }: Props) => <h2>{children}</h2>;
|