Skip to content

Commit

Permalink
feat: change type text props in component Progress
Browse files Browse the repository at this point in the history
  • Loading branch information
u4aew committed Dec 14, 2024
1 parent b628086 commit c8f6c67
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Progress/ProgressInnerText.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import React from 'react';
import {progressBlock} from './constants';

export interface ProgressInnerTextProps {
text?: string;
text?: React.ReactNode;
offset?: number;
}

Expand Down
2 changes: 1 addition & 1 deletion src/components/Progress/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ interface ProgressGeneralProps extends QAProps {

export interface ProgressDefaultProps {
/** Text inside progress bar */
text: string;
text: React.ReactNode;
/** Theme */
theme: ProgressTheme;
/** Size. Text of progress bar is displayed in `m` size only. */
Expand Down

0 comments on commit c8f6c67

Please sign in to comment.