Updated examples and package

This commit is contained in:
Sambo Chea 2021-11-11 16:31:59 +07:00
parent ab50c04230
commit 24d3fe60f4
Signed by: sombochea
GPG Key ID: 3C7CF22A05D95490
3 changed files with 2 additions and 4 deletions

View File

@ -3,7 +3,7 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@cubetiq/react-chart-js": "^1.1.8",
"@cubetiq/react-chart-js": "^1.1.9",
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.3.2",
"@testing-library/user-event": "^7.1.2",

View File

@ -18,8 +18,6 @@ function LineChartExample(props: any) {
],
},
}}
containerProps={null}
canvasProps={null}
/>
);
}

View File

@ -30,7 +30,7 @@
"scripts": {
"build": "tsc",
"test": "jest",
"pub": "npm publish --access public",
"pub": "npm publish --access public --registry https://registry.npmjs.org",
"build:test": "yarn jest && yarn build",
"run:example": "cd examples/line-chart-example && yarn start"
},