diff --git a/app/components/PlaceholderDocument.tsx b/app/components/PlaceholderDocument.tsx index 0c137e53a..9d1cb6166 100644 --- a/app/components/PlaceholderDocument.tsx +++ b/app/components/PlaceholderDocument.tsx @@ -5,13 +5,17 @@ import Fade from "~/components/Fade"; import Flex from "~/components/Flex"; import PlaceholderText from "~/components/PlaceholderText"; +type Props = { + /** Whether to include a title placeholder. */ + includeTitle?: boolean; + /** Delay before mounting the component. Defaults to 500ms */ + delay?: number; +}; + export default function PlaceholderDocument({ includeTitle, - delay, -}: { - includeTitle?: boolean; - delay?: number; -}) { + delay = 500, +}: Props) { const content = ( <>