Skip to content

Commit

Permalink
fix(comp:rate): control not work (#1471)
Browse files Browse the repository at this point in the history
  • Loading branch information
danranVm committed Feb 23, 2023
1 parent 620458a commit 0b2dfa1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/components/rate/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,15 @@
* found in the LICENSE file at https://github.com/IDuxFE/idux/blob/main/LICENSE
*/

import type { AbstractControl } from '@idux/cdk/forms'
import type { ExtractInnerPropTypes, ExtractPublicPropTypes, MaybeArray } from '@idux/cdk/utils'
import type { FormSize } from '@idux/components/form'
import type { DefineComponent, HTMLAttributes, PropType } from 'vue'

export const rateProps = {
control: { type: [String, Number, Object] as PropType<string | number | AbstractControl>, default: undefined },
value: [Number, String] as PropType<number | string>,

allowHalf: {
type: Boolean,
default: undefined,
Expand Down

0 comments on commit 0b2dfa1

Please sign in to comment.