Skip to content

Commit 61759ad

Browse files
committed
refactor(CProgress): update default props values
1 parent e968843 commit 61759ad

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

src/components/progress/CProgress.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ export interface CProgressProps
1212
className?: string
1313
/**
1414
* Sets the height of the component. If you set that value the inner <CProgressBar> will automatically resize accordingly. [docs]
15-
*
16-
* @default 'undefined'
1715
*/
1816
height?: number
1917
/**

src/components/progress/CProgressBar.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ import { Colors, colorPropType } from '../Types'
66
export interface CProgressBarProps extends HTMLAttributes<HTMLDivElement> {
77
/**
88
* Use to animate the stripes right to left via CSS3 animations. [docs]
9-
*
10-
* @default false
119
*/
1210
animated?: boolean
1311
/**
@@ -33,7 +31,7 @@ export interface CProgressBarProps extends HTMLAttributes<HTMLDivElement> {
3331
}
3432

3533
export const CProgressBar = forwardRef<HTMLDivElement, CProgressBarProps>(
36-
({ children, animated = false, className, color, value = 0, variant, ...rest }, ref) => {
34+
({ children, animated, className, color, value = 0, variant, ...rest }, ref) => {
3735
const _className = classNames(
3836
'progress-bar',
3937
{

0 commit comments

Comments
 (0)