MCPcopy Index your code
hub / github.com/WebDevSimplified/react-multistep-form / FormWrapper

Function FormWrapper

src/FormWrapper.tsx:8–26  ·  view source on GitHub ↗
({ title, children }: FormWrapperProps)

Source from the content-addressed store, hash-verified

6}
7
8export function FormWrapper({ title, children }: FormWrapperProps) {
9 return (
10 <>
11 <h2 style={{ textAlign: "center", margin: 0, marginBottom: "2rem" }}>
12 {title}
13 </h2>
14 <div
15 style={{
16 display: "grid",
17 gap: "1rem .5rem",
18 justifyContent: "flex-start",
19 gridTemplateColumns: "auto minmax(auto, 400px)",
20 }}
21 >
22 {children}
23 </div>
24 </>
25 )
26}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected