MCPcopy Create free account
hub / github.com/RobPruzan/react-scratch / ContainerComponent

Function ContainerComponent

src/script.ts:295–305  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

293};
294
295export const ContainerComponent = () => {
296 return React.createElement(
297 "div",
298 {
299 id: "container-component",
300 style: "padding: 5px; margin: 5px; background-color: lightblue;",
301 },
302 React.createElement(LeafComponent, null)
303 // React.createElement(LeafComponent, null)
304 );
305};
306
307export const DualIncrementer = () => {
308 const [value, setValue] = React.useState(0);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected