react-tal
v1.0.1
Published
TAL includes components that makes your devlife easier as easier
Downloads
12
Maintainers
Readme
react-tal
TAL ⭐ includes components that makes your devlife easier as easier.
Installation:
npm install react-tal --save-dev
or
yarn add -D react-tal
Components & Usage:
NOTE: You might need HelmetProvider
by react-helmet-async
to use TALPage.
TALPage
import React from 'react'
import ReactDOM from 'react-dom/client'
import { TALPage as Page } from 'react-tal'
import { HelmetProvider } from 'react-helmet-async'
const root = ReactDOM.createRoot(document.getElementById('root') as HTMLElement)
root.render(
<React.StrictMode>
<HelmetProvider>
<Page
title={"Sample page title"}>
<h1>Just a text on a page</h1>
</Page>
</HelmetProvider>
</React.StrictMode>,
)