@puppet/data-grid
v0.6.12
Published
## Usage
Downloads
580
Keywords
Readme
data-grid
Usage
Add the package to your project:
npm install @puppet/data-grid
Import the Sass styles (e.g. in your index.scss):
@import '~@puppet/data-grid/src/index';
Import and use the react component:
import { DataGridTableComponent } from '@puppet/data-grid';
Actions
npm install
: Install dependencies of packagenpm run build
: Build static asset bundlesnpm run watch
: Rebuild on file changes and output the production buildnpm run watch:dev
: Rebuild on file changes and output a development build (e.g. retainingdebugger
statements)npm test
: Run all tests with jestnpm run test:watch
: Run tests in watch modenpm run test:coverage
: Run tests with coverage reportingnpm run lint
: Lint everythingnpm run format
: Run auto code formatting
Puppet uikit generator
This package was built in accordance with the patterns established in the uikit. You may find it useful to create component boilerplate with:
uikit generate component <ComponentName> -d src/client/components
or to create utility methods with
uikit generate method <methodName> -s src/client/methods