@uiw/react-head
Version:
React components will manage your changes to the document head
19 lines (18 loc) • 769 B
TypeScript
import React, { PropsWithChildren, type FC } from 'react';
declare const Internal: FC<PropsWithChildren>;
declare const Title: FC<React.HTMLAttributes<HTMLTitleElement>>;
declare const Meta: FC<React.MetaHTMLAttributes<HTMLMetaElement>>;
declare const Link: FC<React.LinkHTMLAttributes<HTMLLinkElement>>;
declare const Base: FC<React.BaseHTMLAttributes<HTMLBaseElement>>;
declare const Style: FC<React.StyleHTMLAttributes<HTMLStyleElement>>;
declare const Script: FC<React.ScriptHTMLAttributes<HTMLScriptElement>>;
type InternalComponent = typeof Internal & {
Meta: typeof Meta;
Title: typeof Title;
Link: typeof Link;
Base: typeof Base;
Style: typeof Style;
Script: typeof Script;
};
declare const Head: InternalComponent;
export default Head;