0.1.2 • Published 2 years ago

@procore/labs-advanced-export-dropdown v0.1.2

Weekly downloads
-
License
SEE LICENSE IN LI...
Repository
github
Last release
2 years ago

Advanced Export Dropdown Introduction

AdvancedExportDropdown is responsible for fetching export options and exporting the contents of a specific resource. For more information on setting this up, please read this document.

Installation

yarn add @procore/labs-advanced-export-dropdown

Dependencies

@procore/core-react and react are listed as external peer dependencies. The package will not bundle the code, and requires the app client to provide it as a dependency. The external peer dep is to assure React Context is consistent in a client's React tree, the child consumers can reference the correct parent provider. If the package uses latest features or bug fixes and a new minimum version of core-react is required, it should be considered a breaking change as the peer dependency version must be met.

Usage

import AdvancedExportDropdown from '@procore/labs-advanced-export-dropdown'

<I18nProvider locale={locale} translations={translations}>
  <AdvancedExportDropdown
    resource={{
      id: 1,
      type: 'rfis',
      projectId: 1,
    }}
  />
</I18nProvider>

Note: The react application must be wrapped with I18nProvider.

0.1.2

2 years ago

0.1.0

3 years ago

0.1.1

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

4 years ago