1.3.0 • Published 1 year ago
@verio/products v1.3.0
Description
Verio products library for VFX
Table of Contents
Installation
npm install @verio/products
pnpm add @verio/products
yarn add @verio/productsUse
Use the product components by importing them from @verio/products.
Products
Vertical Profile Atmosphere
import { VerticalProfileAtmosphere, verticalAtmosphereData } from '@verio/products'
const VerticalProfileAtmosphereProduct: React.FC = () => {
// Adjust the svgDimensions and tooltip to fit your needs
return (
<VerticalProfileAtmosphere
// mock data
data={verticalAtmosphereData().featureCollections[0]}
/>
)
}
export default VerticalProfileAtmosphereProductLayer Select
import { LayerSelect } from '@verio/products'
const LayerSelectProduct: React.FC = () => {
return (
<LayerSelect activeBaseLayers={[]} activeMapsLayers={[]} serviceUrl='' locale='en' />
)
}
export default LayerSelectProductRunning unit tests
Run nx test products to execute the unit tests via Jest.
Running stories
Run nx run products:storybook to execute the storybook via Storybook.