0.0.11 • Published 3 years ago

@govtechsg/sgds-masthead-react v0.0.11

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

Getting Started

Install the sgds-masthead-react package

npm i @govtechsg/sgds-masthead-react

in your App.tsx

import '@govtechsg/sgds-masthead/dist/sgds-masthead/sgds-masthead.css';
import { SgdsMasthead } from '@govtechsg/sgds-masthead-react';

In your render function

render(){
 return(
  <SgdsMasthead></SgdsMasthead>
  .
  .
  .

Note: If you are using CRA4 and below

You might encounter compilation warning

Module parse failed: Unexpected token.
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file.
>> var patchBrowser=function(){var r=import.meta.url;

To resolve this, you will need to use an addtional loader. @open-wc/webpack-import-meta-loader

0.0.10

3 years ago

0.0.11

3 years ago

0.0.8

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago