🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

react-head-meta

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-head-meta

A simple library for changing page meta tags.

1.0.1
latest
Source
npm
Version published
Maintainers
1
Created
Source

react-head-meta

npm

A simple library for changing page meta tags.

Installation

To install, you can use npm or yarn:

npm install react-head-meta

or

yarn add react-head-meta

Usage

The library is very easy to use, even a child can handle it!

The library has only 2 components responsible for meta tags.

Basic Example

import { Title, Description } from "react-head-meta";

function App() {
	return (
		<div>
			<Title title="Home page | MyApp" />
			<Description description="Home page of my new app" />
			<h1>Home page</h1>
		</div>
	);
}

Props and Types

Title:

PropType
titlestring

Description:

PropType
descriptionstring

License

MIT

Keywords

react-head-meta

FAQs

Package last updated on 10 Jul 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts