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

0.5.3 • Public • Published

Releases Components

Useful components and hooks to integrate releases to your application.

Installation

yarn add @vtex/releases-components @vtex/admin-ui

You need to have react and react-dom in your app.

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 createSystem
import { createSystem } from '@vtex/admin-ui'

const [ThemeProvider] = createSystem({key: 'your-application'})

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 @vtex/releases-components

Weekly Downloads

30

Version

0.5.3

License

MIT

Unpacked Size

755 kB

Total Files

69

Last publish

Collaborators

  • jardelymaris
  • denissilvavtex
  • eduardocesb
  • enzomerca
  • vinhags
  • zaedyvtex
  • filafb
  • bastotec
  • arthurtriis1vtex
  • geraldo.fernandes
  • georgebrindeiro
  • filipewl
  • emersonvtex
  • rodrigo.albuquerque
  • viniciuslouzadavtex
  • npedrosovtex
  • myllena.alves
  • mendescamara
  • mauro.takeda
  • lpolon
  • gianvittorio
  • eduardoformiga
  • vcnovaes
  • dpzvtex
  • vtexlab-user
  • wender
  • natamelo
  • mairatma
  • mayzabel
  • augusto.lazaro
  • rafarubim
  • gustavorosolem
  • arthurepc
  • jeymisson
  • victorhmp
  • lurian
  • arturpimentel
  • anitavincent
  • brunojdo
  • lucasecdb
  • matheusps
  • emersonlaurentino
  • viniagostini
  • lucasaarcoverde
  • lariciamota
  • icazevedo
  • fabits
  • mateuspontes
  • gmantiqueira
  • vitorlgomes
  • rodolfoams
  • policarpo
  • marcelovicentegc
  • maianabt
  • jeffersontuc
  • hiagolcm
  • william.silva