UNPKG

@theprojectsx/react-head

Version:

Lightweight Component to manage the head of your React and Next JS applications

19 lines (14 loc) 518 B
import React from "react"; export interface UseReactHeadProps { title?: string; base?: Record<string, any>; meta?: Record<string, any>[]; link?: Record<string, any>[]; style?: Record<string, any>[]; script?: Record<string, any>[]; noscript?: Record<string, any>[]; template?: Record<string, any>[]; } export declare const useReactHead: (props: UseReactHeadProps) => void; declare const ReactHead: React.FC<{ children: React.ReactNode }>; export default ReactHead;