Skip to content

Commit

Permalink
Improve jsdoc comment: make it fit within ~80chars of char lenght and…
Browse files Browse the repository at this point in the history
… fix comment opening
  • Loading branch information
fullofcaffeine committed May 29, 2024
1 parent 1b4dc84 commit 17b0d30
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions packages/components/src/progress-bar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,12 @@ function UnforwardedProgressBar(
);
}

/* A simple horizontal progress bar component.
/**
* A simple horizontal progress bar component.
*
* Supports two modes: determinate and indeterminate. A progress bar is determinate when a specific progress value has been specified (from 0 to 100), and indeterminate when a value hasn't been specified.
* Supports two modes: determinate and indeterminate. A progress bar is determinate
* when a specific progress value has been specified (from 0 to 100), and indeterminate
* when a value hasn't been specified.
*
* ```jsx
* import { ProgressBar } from '@wordpress/components';
Expand Down

0 comments on commit 17b0d30

Please sign in to comment.