Skip to content

Commit

Permalink
Add prop docs to Badge component
Browse files Browse the repository at this point in the history
  • Loading branch information
victorhmp committed Aug 23, 2021
1 parent 606a7b8 commit fe06a7c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/store-ui/src/atoms/Badge/Badge.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ import type { ReactNode, ForwardedRef } from 'react'
import React, { forwardRef } from 'react'

export interface BadgeProps {
/**
* ID to find this component in testing tools (e.g.: cypress, testing library, and jest).
*/
testId?: string
children?: ReactNode
}
Expand Down

0 comments on commit fe06a7c

Please sign in to comment.