Skip to content
This repository was archived by the owner on Jan 15, 2021. It is now read-only.

Commit 2bdcf8d

Browse files
committed
fix(Accessibility): Add ID prop
re #166
1 parent 1a2af1d commit 2bdcf8d

File tree

4 files changed

+158
-72
lines changed

4 files changed

+158
-72
lines changed

dist/index.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

index.d.ts

+7
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,13 @@ declare module 'react-picky' {
167167
* @interface PickyProps
168168
*/
169169
export interface PickyProps {
170+
/**
171+
* The ID for the component, used for accessibility
172+
*
173+
* @type {string}
174+
* @memberof PickyProps
175+
*/
176+
id:string;
170177
/**
171178
* Default placeholder text
172179
*

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"rollup-plugin-babel": "^4.3.2",
5050
"rollup-plugin-commonjs": "^9.3.4",
5151
"rollup-plugin-css-only": "^1.0.0",
52-
"rollup-plugin-filesize": "^6.0.1",
52+
"rollup-plugin-filesize": "^6.1.1",
5353
"rollup-plugin-jsx": "^1.0.3",
5454
"rollup-plugin-node-resolve": "^4.2.3",
5555
"rollup-plugin-uglify": "^6.0.2",

0 commit comments

Comments
 (0)