Skip to content

Commit

Permalink
release(packages/sui-pde): update useFeature hook to accept structure…
Browse files Browse the repository at this point in the history
…d arguments instead of raw argu

update useFeature hook so that users can only pass in the required parameters via structured

arguments

ISSUES CLOSED: SUI-Components#1418
  • Loading branch information
theonly1me committed Oct 5, 2022
1 parent 3b6d5e8 commit 9720df0
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions packages/sui-pde/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@s-ui/pde",
"version": "2.20.0",
"version": "3.0.0",
"description": "",
"type": "module",
"main": "lib/index.js",
Expand Down Expand Up @@ -29,5 +29,14 @@
"@testing-library/react-hooks": "4.0.1",
"react": "17",
"react-test-renderer": "17"
},
"eslintConfig": {
"extends": [
"./node_modules/@s-ui/lint/eslintrc.js"
]
},
"prettier": "./node_modules/@s-ui/lint/.prettierrc.js",
"stylelint": {
"extends": "./node_modules/@s-ui/lint/stylelint.config.js"
}
}
}

0 comments on commit 9720df0

Please sign in to comment.