Skip to content

Commit

Permalink
Add direction prop to typings of CircleSnail (#203)
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco Crespi authored Jul 10, 2021
1 parent 2000d5e commit 24abb1d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,15 @@ declare module 'react-native-progress' {
* @default round
*/
strokeCap?: 'butt' | 'square' | 'round';

/**
* Direction in which the circle spins, either "clockwise" or "counter-clockwise" (default).
*
* @type {('clockwise' | 'counter-clockwise')}
* @memberof CircleSnailPropTypes
* @default counter-clockwise
*/
direction?: 'clockwise' | 'counter-clockwise';
}

export class Bar extends React.Component<BarPropTypes> {}
Expand Down

0 comments on commit 24abb1d

Please sign in to comment.