Skip to content

Commit

Permalink
refactor(progress): 🏷️ progress options type
Browse files Browse the repository at this point in the history
  • Loading branch information
navin-moorthy committed Sep 7, 2020
1 parent d35e519 commit fada96a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/progress/Progress.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ import { PROGRESS_KEYS } from "./__keys";
import { ProgressStateReturn } from "./ProgressState";

export type ProgressOptions = BoxOptions &
ProgressStateReturn & {
Pick<
ProgressStateReturn,
"isIndeterminate" | "value" | "max" | "min" | "percent"
> & {
/**
* Function that returns the `aria-valuetext` for screen readers.
* It's mostly used to generate a more human-readable
Expand Down

0 comments on commit fada96a

Please sign in to comment.