Skip to content

Commit

Permalink
fix: import
Browse files Browse the repository at this point in the history
  • Loading branch information
lisalupi committed Jan 2, 2025
1 parent 3477b3b commit 74657d4
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions packages/ui/src/components/Text/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import type { Theme } from '@emotion/react'
import styled from '@emotion/styled'
import type React from 'react'
import type { ElementType, ReactNode } from 'react'
import type { CSSProperties, ElementType, ReactNode } from 'react'
import { useRef } from 'react'
import recursivelyGetChildrenString from '../../helpers/recursivelyGetChildrenString'
import { useIsOverflowing } from '../../hooks/useIsOverflowing'
Expand All @@ -18,8 +17,8 @@ const PROMINENCES = {
}

type ProminenceProps = keyof typeof PROMINENCES
type PlacementProps = React.CSSProperties['textAlign']
type WhiteSpaceProps = React.CSSProperties['whiteSpace']
type PlacementProps = CSSProperties['textAlign']
type WhiteSpaceProps = CSSProperties['whiteSpace']
type TextVariant = keyof typeof typography
export const textVariants = Object.keys(typography) as TextVariant[]

Expand Down

0 comments on commit 74657d4

Please sign in to comment.