Skip to content

Commit

Permalink
rename to isBrandEvolution
Browse files Browse the repository at this point in the history
  • Loading branch information
garrettbear committed Aug 27, 2024
1 parent 0d829af commit 74ae4dd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ui/components/component-library/text/text.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -298,5 +298,5 @@ export const BrandEvolution = (args) => (
);

BrandEvolution.args = {
brandEvolution: true,
isBrandEvolution: true,
};
4 changes: 2 additions & 2 deletions ui/components/component-library/text/text.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export const Text: TextComponent = React.forwardRef(
ellipsis,
className = '',
children,
brandEvolution, // Phase 1: Brand Evolution Typography
isBrandEvolution, // Phase 1: Brand Evolution Typography
...props
}: TextProps<C>,
ref?: PolymorphicRef<C>,
Expand All @@ -62,7 +62,7 @@ export const Text: TextComponent = React.forwardRef(
[`mm-text--text-transform-${textTransform}`]: Boolean(textTransform),
[`mm-text--text-align-${textAlign}`]: Boolean(textAlign),
[`mm-text--overflow-wrap-${overflowWrap}`]: Boolean(overflowWrap),
[`mm-text--${variant}-brand-evo`]: Boolean(brandEvolution),
[`mm-text--${variant}-brand-evo`]: Boolean(isBrandEvolution),
},
);

Expand Down
2 changes: 1 addition & 1 deletion ui/components/component-library/text/text.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ export interface TextStyleUtilityProps extends StyleUtilityProps {
/**
* Enable Brand Evolution Typography
*/
brandEvolution?: boolean;
isBrandEvolution?: boolean;
}

export type TextProps<C extends React.ElementType> =
Expand Down

0 comments on commit 74ae4dd

Please sign in to comment.