Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 3d4174f

Browse files
fixed parameter order
1 parent 3f86eb7 commit 3d4174f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ Since this component uses React's Context API, `<Checkbox>` elements can by anyw
6666

6767
| Prop | Type | Description |
6868
| ---------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------- |
69-
| `onChange` | `(values: Array<string>, originalEvent: SyntheticEvent<HTMLInputElement>) => void` | Will be called on every time a checkbox changes its state. |
69+
| `onChange` | `(originalEvent: SyntheticEvent<HTMLInputElement>, values: Array<string>) => void` | Will be called on every time a checkbox changes its state. |
7070
| `name` | `string` | Name for all checkboxes within one `<CheckboxGroup>` |
7171
| `values` | `Array<string>` | Values of the `<Checkbox>` elements marked as `checked` |
7272

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /