Skip to content

Commit

Permalink
fix(Text): return missing props to TextProps type
Browse files Browse the repository at this point in the history
  • Loading branch information
IsaevAlexandr committed Jun 5, 2024
1 parent bfa2dbf commit f071ed1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/Text/Text.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ export interface TextProps<C extends React.ElementType = 'span'>
*/
as?: C;
ellipsisLines?: number;
className?: string;
styles?: React.CSSProperties;
}

type TextRef<C extends React.ElementType> = React.ComponentPropsWithRef<C>['ref'];
Expand Down

0 comments on commit f071ed1

Please sign in to comment.