Skip to content

Instantly share code, notes, and snippets.

@ryancheta
Last active May 5, 2021 04:24
Show Gist options
  • Save ryancheta/a02ecf528e37b0852affe31de1969e03 to your computer and use it in GitHub Desktop.
Save ryancheta/a02ecf528e37b0852affe31de1969e03 to your computer and use it in GitHub Desktop.
import React from "react";
import styles from "./styles.module.scss";
import { flex, space_between } from "../assets/css/_flex.module.scss";
import { classes } from 'utils';
export default function Component({ children, ...rest }) {
return (
<div className={classes(styles.container, flex, space_between)} {...rest}>
<div>{children}</div>
</div>
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment