diff --git a/ui/components/component-library/text/text.types.ts b/ui/components/component-library/text/text.types.ts index 1bf16355c732..a79d5cd51165 100644 --- a/ui/components/component-library/text/text.types.ts +++ b/ui/components/component-library/text/text.types.ts @@ -1,10 +1,9 @@ import React from 'react'; -import type { BoxProps, TextAlignArray } from '../../ui/box/box.d'; +import type { BoxProps } from '../../ui/box/box.d'; import { FontWeight, FontStyle, TextVariant, - TextAlign, TextTransform, OverflowWrap, TextColor, @@ -115,11 +114,6 @@ export interface TextProps extends BoxProps { * ./ui/helpers/constants/design-system.js */ textTransform?: TextTransform; - /** - * The text-align of the Text component. Should use the TextAlign enum from - * ./ui/helpers/constants/design-system.js - */ - textAlign?: TextAlign | TextAlignArray; /** * Change the dir (direction) global attribute of text to support the direction a language is written * Possible values: `LEFT_TO_RIGHT` (default), `RIGHT_TO_LEFT`, `AUTO` (user agent decides)