-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
react-image: Replacing use of functions in makeStyles with direct use…
… of tokens (#21044) #### Pull request checklist - [x] Addresses an existing issue: Implements part of #20651 - [x] Include a change request file using `$ yarn change` #### Description of changes _This PR is part of a series of PRs that split #20918 into smaller PRs._ _This PR follows #21026._ This PR replaces the use of functions in `makeStyles` calls in the `@fluentui/react-image` package with direct use of the `tokens` exported from `@fluentui/react-theme`.
- Loading branch information
Showing
2 changed files
with
24 additions
and
16 deletions.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
change/@fluentui-react-image-1eccf8fc-d0e8-4674-b625-a66db140efc2.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"type": "prerelease", | ||
"comment": "react-image: Replacing use of functions in makeStyles with direct use of tokens.", | ||
"packageName": "@fluentui/react-image", | ||
"email": "[email protected]", | ||
"dependentChangeType": "patch" | ||
} |
33 changes: 17 additions & 16 deletions
33
packages/react-image/src/components/Image/useImageStyles.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters