first commit
This commit is contained in:
commit
8f13dec0e4
15 files changed
+223
No files matched your search
@@ -0,0 +1,13 @@
|
||||
type ChildrenProps = {
|
||||
counter: number;
|
||||
};
|
||||
|
||||
export const Children = (props: ChildrenProps) => {
|
||||
console.log('__children render');
|
||||
return (
|
||||
<div>
|
||||
<h6>I'm its child</h6>
|
||||
<p>My counter is {props.counter}</p>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
Reference in new issue
Block a user