mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-19 19:04:06 -06:00
9 lines
211 B
TypeScript
9 lines
211 B
TypeScript
import { ChildAsReactFC } from './Child';
|
|
|
|
const Parent = () => {
|
|
return <ChildAsReactFC colour="red" onClick={() => console.log('Clicked')}>;
|
|
Nothing
|
|
</ChildAsReactFC>
|
|
};
|
|
|
|
export default Parent; |