mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-06-30 22:06:38 -04:00
export prop types from component files
This commit is contained in:
@ -8,7 +8,7 @@ import themes, { toCSS } from "../../lib/config/themes";
|
||||
|
||||
import styles from "./Layout.module.css";
|
||||
|
||||
type LayoutProps = JSX.IntrinsicElements["div"] & {
|
||||
export type LayoutProps = JSX.IntrinsicElements["div"] & {
|
||||
container?: boolean; // pass false to disable default `<main>` container styles with padding, etc.
|
||||
stickyHeader?: boolean; // pass false to override default stickiness of header when scrolling
|
||||
};
|
||||
|
Reference in New Issue
Block a user