@offer-ui/react
TypeScript icon, indicating that this package has built-in type declarations

0.3.6 • Public • Published

@offer-ui/react

offerlogo

NPM downloads

Offer Design System UI for React components.

🎉 Getting Started

Run the following command using npm:

$ npm install @offer-ui/react

If you prefer Yarn, use the following command instead:

$ yarn add @offer-ui/react

🚀 Usage

To start using the components, please follow these steps:

  1. Wrap your application with the OfferStyleProvider provided by @offer-ui/react.
import { OfferStyleProvider } from "@offer-ui/react"

// Do this at the root of your application
function App({ children }) {
  return <OfferStyleProvider>{children}</OfferStyleProvider>
}
  1. Now you can start using components like so!:
import { Badge } from "@offer-ui/react"

function Example() {
  return <Badge colorType="orange">I just consumed some Offer!</Badge>
}

More guides on how to get started are available here

📝 License

@offer-ui/react is made available under the MIT License.

Package Sidebar

Install

npm i @offer-ui/react

Weekly Downloads

7

Version

0.3.6

License

MIT

Unpacked Size

6.29 MB

Total Files

103

Last publish

Collaborators

  • jooyoungcho
  • shinyojeong
  • surim
  • offer-price