Skip to content

Commit

Permalink
alphabetise the readme for codemods
Browse files Browse the repository at this point in the history
  • Loading branch information
Geoffrey Chong committed Aug 9, 2024
1 parent 39dce2c commit f101f71
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions packages/components/codemods/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,9 @@ Example:
## Available codemods
- `migrateBrandMomentMoodToVariant`: Migrates `BrandMoment` component prop from `mood` to `variant`.
- `migrateEmptyStateIllustrationTypeToVariant`: Migrates `EmptyState` component prop from `illustrationType` to `variant`.
- `migrateGlobalNotificationTypeToVariant`: Transforms `GlobalNotification`'s `type` prop to the new `variant` prop.
- `migrateInlineNotificationTypeToVariant`: Transforms `InlineNotification`'s `type` prop to the new `variant` prop.
- `migrateInformationTileMoodToVariant`: Migrates `InformationTile` component prop from `mood` to `variant`.
- `migrateMultiActionTileMoodToVariant`: Migrates `MultiActionTile` component prop from `mood` to `variant`.
- `migrateToastNotificationTypeToVariant`: Transforms `ToastNotification`'s `type` prop to the new `variant` prop.
- `migrateWellVariantToColor`: Migrates `Well` component prop from `variant` to `color`.
- `migrateNotificationTypeToVariant`: A utility transformer that updates any given Notification's `type` prop to the correct `variant` prop
- `migrateGlobalNotificationTypeToVariant`: uses the utility to transform `GlobalNotification`
- `migrateInlineNotificationTypeToVariant`: uses the utility to transform `InlineNotification`
- `migrateToastNotificationTypeToVariant`: uses the utility to transform `ToastNotification`

0 comments on commit f101f71

Please sign in to comment.