Skip to content

Commit

Permalink
chore: add --inactive-color-half type (#6281)
Browse files Browse the repository at this point in the history
  • Loading branch information
HydenLiu authored Aug 4, 2023
1 parent bf44a5c commit 49a1ef5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/components/rate/rate.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,12 @@ export type RateProps = {
readOnly?: boolean
value?: number
onChange?: (value: number) => void
} & NativeProps<'--star-size' | '--active-color' | '--inactive-color'>
} & NativeProps<
| '--star-size'
| '--active-color'
| '--inactive-color'
| '--inactive-color-half'
>

const defaultProps = {
count: 5,
Expand Down

0 comments on commit 49a1ef5

Please sign in to comment.