1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-21 01:01:17 -04:00

move more junk out of index.css and into components

This commit is contained in:
2022-01-22 18:52:29 -05:00
parent f62c057f5d
commit 0343aa9be4
19 changed files with 371 additions and 352 deletions

View File

@@ -1,11 +1,13 @@
import classNames from "classnames";
import type { ReactNode } from "react";
import styles from "./Content.module.css";
type Props = {
children: ReactNode;
className?: string;
};
const Content = (props: Props) => <div className={styles.content} {...props} />;
const Content = ({ className, ...rest }: Props) => <div className={classNames(styles.content, className)} {...rest} />;
export default Content;