Created
February 11, 2024 23:04
-
-
Save talatkuyuk/77add43c41fdfb197244ab9a43cba9d2 to your computer and use it in GitHub Desktop.
Simple transpiled react component
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from "react"; | |
const Bar = () => { | |
return React.createElement( | |
"div", | |
{ | |
className: "bar-content", | |
style: { color: "red", marginTop: "1rem" }, | |
}, | |
"Hi from Bar component" | |
); | |
}; | |
export default Bar; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment