From 8fa5acfb67e376ccb2476f728e8ac2827b36695d Mon Sep 17 00:00:00 2001 From: Quamrul Siddiqui <125456749+QuamrulSiddiqui@users.noreply.github.com> Date: Fri, 7 Jun 2024 10:44:56 +0530 Subject: [PATCH] Update main.py --- main.py | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index 6cb5fd9..74c963d 100644 --- a/main.py +++ b/main.py @@ -1 +1,15 @@ -print("") \ No newline at end of file +class Cat extends React.Component { + constructor(props) { + super(props); + this.state = { humor: 'happy' }; + } + + render() { + return ( +
+

{this.props.name}

+

{this.props.color}

+
+ ); + } +}