diff --git a/change/@fluentui-react-next-2020-06-22-11-18-19-xgao-useKeytipData.json b/change/@fluentui-react-next-2020-06-22-11-18-19-xgao-useKeytipData.json index f72e3a99f3ad00..742b50a345406e 100644 --- a/change/@fluentui-react-next-2020-06-22-11-18-19-xgao-useKeytipData.json +++ b/change/@fluentui-react-next-2020-06-22-11-18-19-xgao-useKeytipData.json @@ -1,8 +1,8 @@ { "type": "prerelease", - "comment": "Remove KeytipData for Checkbox,Toggle,Link", + "comment": "Remove KeytipData for Checkbox, Toggle, and Link.", "packageName": "@fluentui/react-next", "email": "xgao@microsoft.com", "dependentChangeType": "patch", "date": "2020-06-22T18:18:19.664Z" -} \ No newline at end of file +} diff --git a/change/office-ui-fabric-react-2020-06-22-11-18-19-xgao-useKeytipData.json b/change/office-ui-fabric-react-2020-06-22-11-18-19-xgao-useKeytipData.json index 5a4bf6e61c7510..c88cd25c8b296a 100644 --- a/change/office-ui-fabric-react-2020-06-22-11-18-19-xgao-useKeytipData.json +++ b/change/office-ui-fabric-react-2020-06-22-11-18-19-xgao-useKeytipData.json @@ -1,8 +1,8 @@ { "type": "patch", - "comment": "export useKeytipData from index", + "comment": "Export useKeytipData from index.", "packageName": "office-ui-fabric-react", "email": "xgao@microsoft.com", "dependentChangeType": "patch", "date": "2020-06-22T18:18:04.940Z" -} \ No newline at end of file +} diff --git a/packages/office-ui-fabric-react/src/components/KeytipData/useKeytipData.ts b/packages/office-ui-fabric-react/src/components/KeytipData/useKeytipData.ts index c2e7d4f87620a7..2ec2f76a4f075d 100644 --- a/packages/office-ui-fabric-react/src/components/KeytipData/useKeytipData.ts +++ b/packages/office-ui-fabric-react/src/components/KeytipData/useKeytipData.ts @@ -14,7 +14,7 @@ export interface IKeytipData { } /** - * Hook that create attributes for component which enabled with Keytip. + * Hook that creates attributes for components which are enabled with Keytip. */ export function useKeytipData(options: KeytipDataOptions): IKeytipData { const uniqueId = React.useRef(); diff --git a/packages/react-next/src/compat/withKeytipData.tsx b/packages/react-next/src/compat/withKeytipData.tsx index 187abb8d438fcd..582dbc2a130fc5 100644 --- a/packages/react-next/src/compat/withKeytipData.tsx +++ b/packages/react-next/src/compat/withKeytipData.tsx @@ -4,7 +4,7 @@ import { KeytipDataOptions, useKeytipData, IKeytipData } from '../KeytipData'; /** * HOC to output wrapped component that supports keytipProps prop, - * given an input component that has keytipProps prop deprecated. + * given an input component that has deprecated keytipProps prop. * * @param Component - Component with keytipData prop and deprecated keytipProps prop. */