Download next.js/examples/cms-payload/components/Hero/LowImpact/index.tsx from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 633 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/examples/cms-payload/components/Hero/LowImpact/index.tsx
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/examples/cms-payload/components/Hero/LowImpact/index.tsx
-
curl -L -o index.tsx https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/examples/cms-payload/components/Hero/LowImpact/index.tsx
633 Bytes
| import React from "react"; | |
| import { Cell, Grid } from "@faceless-ui/css-grid"; | |
| import { Page } from "../../../payload-types"; | |
| import { Gutter } from "../../Gutter"; | |
| import RichText from "../../RichText"; | |
| import { VerticalPadding } from "../../VerticalPadding"; | |
| import classes from "./index.module.scss"; | |
| export const LowImpactHero: React.FC<Page["hero"]> = ({ richText }) => { | |
| return ( | |
| <Gutter> | |
| <Grid> | |
| <Cell cols={8} colsL={10}> | |
| <VerticalPadding> | |
| <RichText className={classes.richText} content={richText} /> | |
| </VerticalPadding> | |
| </Cell> | |
| </Grid> | |
| </Gutter> | |
| ); | |
| }; | |