0.0.11 • Published 2 years ago

@govtechsg/sgds-masthead-react v0.0.11

Weekly downloads
-
License
ISC
Repository
-
Last release
2 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

2 years ago

0.0.11

2 years ago

0.0.8

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago