@numl-react/contextual-savebar
TypeScript icon, indicating that this package has built-in type declarations

0.0.37 • Public • Published

@numl-react/contextual-savebar

Introduction

The contextual savebar can be used to indicate users, that they have unsaved changes that needs to be saved or discarded.

Installation

yarn add @numl-react/contextual-savebar
# or
npm i @numl-react/contextual-savebar

Import Components

import { ContextualSaveBar } from '@numl-react/organisms';
// or
import { ContextualSaveBar } from '@numl-react/contextual-savebar';

Component

<ContextualSaveBar
  message="Unsaved Changes"
  button={[
    <>
      <Button.Small>Discard</Button.Small>
      <Button.Small theme="special">Save</Button.Small>
    </>,
  ]}
/>

Usage

WIP

References

WIP

Package Sidebar

Install

npm i @numl-react/contextual-savebar

Weekly Downloads

1

Version

0.0.37

License

MIT

Unpacked Size

18.6 kB

Total Files

8

Last publish

Collaborators

  • shubhamkaushal
  • tenphi