@sixtrdindia/rcdeprecated

generic pure react components

Usage no npm install needed!

<script type="module">
  import sixtrdindiaRc from 'https://cdn.skypack.dev/@sixtrdindia/rc';
</script>

README

Sixt React Components

What is this repository for?

  • This repository contains a list of components

How to install

  • npm install @sixtrdindia/rc

Components available in this library

In order to use Modal and Toast, you have to include,

  <div id="modal-root"></div>
  <div id="toast-root"></div>

in your index.html as both of those components use React Portals.

To use tooltip

import {Tooltip} from '@sixtrdindia/rc'

<Tooltip value={`What needs to be shown in the tooltip, can also take html passed as string`}>
    <span>element to show tooltip for</span>
</Tooltip>

Docs and demo page coming soon.

Please feel free to contribute here.