Skip to content

Commit

Permalink
fix(getNativeElementProps): Add support for onAuxClick (#20343)
Browse files Browse the repository at this point in the history
* fix(getNativeElementPrps): Add support for `onAuxClick`

Adds support for the `onAuxClick` native handler

* Change files
  • Loading branch information
ling1726 committed Oct 26, 2021
1 parent 6f07e52 commit b5b7401
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "prerelease",
"comment": "fix(getNativeElementPrps): Add support for `onAuxClick`",
"packageName": "@fluentui/react-utilities",
"email": "lingfangao@hotmail.com",
"dependentChangeType": "patch"
}
1 change: 1 addition & 0 deletions packages/react-utilities/src/utils/properties.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ const toObjectMap = (...items: (string[] | Record<string, number>)[]) => {
* @public
*/
export const baseElementEvents = toObjectMap([
'onAuxClick',
'onCopy',
'onCut',
'onPaste',
Expand Down

0 comments on commit b5b7401

Please sign in to comment.