Skip to content

Commit

Permalink
Fix issues with SpinButton revealed by eslint-plugin-react-hooks (mic…
Browse files Browse the repository at this point in the history
  • Loading branch information
czearing authored and assuncaocharles committed Dec 2, 2020
1 parent 0c893b5 commit 52b71df
Show file tree
Hide file tree
Showing 6 changed files with 601 additions and 616 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"type": "prerelease",
"comment": "SpinButton: Fix function component conversion issues revealed by eslint-plugin-react-hooks",
"packageName": "@fluentui/react-internal",
"email": "czearing@outlook.com",
"dependentChangeType": "patch",
"date": "2020-10-08T18:29:41.503Z"
}
2 changes: 1 addition & 1 deletion packages/react-internal/etc/react-internal.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -4594,7 +4594,7 @@ export interface ISpinButton {
}

// @public (undocumented)
export interface ISpinButtonProps extends React.HTMLAttributes<HTMLDivElement>, React.RefAttributes<HTMLDivElement> {
export interface ISpinButtonProps extends React.HTMLAttributes<HTMLInputElement>, React.RefAttributes<HTMLDivElement> {
ariaDescribedBy?: string;
ariaLabel?: string;
ariaPositionInSet?: number;
Expand Down
Loading

0 comments on commit 52b71df

Please sign in to comment.