0.0.21 • Published 9 months ago

@kit-data-manager/data-view-web-component-react v0.0.21

Weekly downloads
-
License
ISC
Repository
-
Last release
9 months ago

Built With Stencil

React Library for the Data-Card Component

Installation

Using this React Wrapper is recommened to use the data-view-web-component, as this allows for correct Event Propagation and passing Object & Arrays directly as Props, aswell as allowing Intellisense for the props.

  • Run npm install data-card-react
  • Use as any other React Component

Troubleshooting

When using in a Next project, you might encounter the error SyntaxError: Unexpected token 'export'.

This is fixed by adding this package to the transpilePackages option (Next Docs):

transpilePackages: ['data-card-react']