Skip to content

CenteredContainer

The <CenteredContainer> component is a max-width content container that's centered on the page. It is another component that Nerds use as part of the Currency layout toolkit to more easily translate Figma assets that've been created to the Currency Grid, into code.

Examples

Default

Props

<CenteredContainer>

children

Required
ReactNode

className

Deprecated
string

ref

(instance: any) => void | RefObject<any>