-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: pass print options to block codemod
- Loading branch information
Martí Malek
committed
Aug 29, 2023
1 parent
f81d034
commit 24e4f2b
Showing
3 changed files
with
7 additions
and
5 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
src/codemods/__testfixtures__/colors-to-css-vars/color-in-JSX-multi-import.output.tsx
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import { CloseIcon } from '@freenow/wave'; | ||
|
||
export const CloseIconWrapper = () => ( | ||
<CloseIcon data-testid="dismissBanner" color="var(--wave-b-color-white)" cursor="pointer" size={18} /> | ||
<CloseIcon data-testid="dismissBanner" color={'var(--wave-b-color-white)'} cursor="pointer" size={18} /> | ||
); |
4 changes: 2 additions & 2 deletions
4
src/codemods/__testfixtures__/colors-to-css-vars/color-in-JSX-single-import.output.tsx
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
export const GhostIcon = () => ( | ||
<svg fill="none" viewBox="0 0 16 16" width="100%"> | ||
<path d="M1 6v9h1v1h2v-1h1v-1h1v1h1v1h2v-1h1v-1h1v1h1v1h2v-1h1V6h-1V3h-1V2h-1V1h-2V0H6v1H4v1H3v1H2v3H1z" /> | ||
<path fill="var(--wave-b-color-blue-primary-1100)" d="M5 7h1v3H5zm5 0h1v3h-1z" /> | ||
<path fill="var(--wave-b-color-white)" d="M5 6h1v1H5zm5 0h1v1h-1z" /> | ||
<path fill={'var(--wave-b-color-blue-primary-1100)'} d="M5 7h1v3H5zm5 0h1v3h-1z" /> | ||
<path fill={'var(--wave-b-color-white)'} d="M5 6h1v1H5zm5 0h1v1h-1z" /> | ||
</svg> | ||
); |
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