mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-07-21 01:01:17 -04:00
export prop types from component files
This commit is contained in:
@@ -4,7 +4,7 @@ import type { Ref } from "react";
|
||||
|
||||
import styles from "./Terminal.module.css";
|
||||
|
||||
type TerminalProps = JSX.IntrinsicElements["div"];
|
||||
export type TerminalProps = JSX.IntrinsicElements["div"];
|
||||
|
||||
// a DOS-style terminal box with dynamic text
|
||||
const Terminal = forwardRef(function Terminal({ className, ...rest }: TerminalProps, ref: Ref<HTMLSpanElement>) {
|
||||
|
Reference in New Issue
Block a user