Skip to content

Commit

Permalink
fix(typescript): ✏️ edit ProgressBarProps interface definition
Browse files Browse the repository at this point in the history
fix typos from 'Optionnal' to 'Optional'. add more values on `type` props

fix fkhadra#561
  • Loading branch information
achmadk committed Feb 1, 2021
1 parent f42e4e5 commit 4d60ac1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/ProgressBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ export interface ProgressBarProps {
isRunning: boolean;

/**
* Func to close the current toast
* Function to close the current toast
*/
closeToast: () => void;

/**
* Optional type : info, success ...
* Optional type : info, success, warning, error, default, dark.
*/
type: TypeOptions;

Expand All @@ -31,12 +31,12 @@ export interface ProgressBarProps {
hide?: boolean;

/**
* Optionnal className
* Optional className
*/
className?: ToastClassName;

/**
* Optionnal inline style
* Optional inline style
*/
style?: React.CSSProperties;

Expand Down

0 comments on commit 4d60ac1

Please sign in to comment.