@thayannevls/releases-components
TypeScript icon, indicating that this package has built-in type declarations

0.0.7 • Public • Published

Releases Components

Useful components and hooks to integrate releases to your application.

Installation

yarn add @vtex/...

Setup

It's necessary to add the Admin-UI ThemeProvider at the root of your application along with the ReleasesProvider.

import React from 'react'

// 1. Import the ReleasesProvider
import { ReleasesProvider } from '@vtex/...'
// 2. import the ThemeProvider
import { ThemeProvider } from '@vtex/admin-ui'

function RootComponent() {
  // 3. Use at the root of your app
  return (
    <ReleasesProvider account="<your_vtex_account>">
      <ThemeProvider>
        {/** your app code here */}
      </ThemeProvider>
    </ReleasesProvider>
    )

Readme

Keywords

none

Package Sidebar

Install

npm i @thayannevls/releases-components

Weekly Downloads

1

Version

0.0.7

License

MIT

Unpacked Size

91.4 kB

Total Files

47

Last publish

Collaborators

  • thayannevls