Skip to content

Commit

Permalink
fix: update rate and check
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas-Liang committed Nov 11, 2020
1 parent effe836 commit 7afa77f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion types/element3.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ export { ElRadioGroup } from './radio-group'
export { ElSlider } from './slider'
export { ElSwitch } from './switch'
export { ElMessage } from './message'
export { ElRate } from './rate'

import { ElCollapse } from './collapse'
import { ElCollapseItem } from './collapse-item'
Expand All @@ -57,7 +58,7 @@ import { ElNotification } from './notification'
import { ElOption } from './option'
import { ElOptionGroup } from './option-group'
import { ElPopover } from './popover'
import { ElRate } from './rate'

import { ElStep } from './step'
import { ElSteps } from './steps'
import { ElSubmenu } from './submenu'
Expand Down
6 changes: 4 additions & 2 deletions types/rate.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ interface Options {
export type RateColors = Options
export type RateIconClasses = Options

/** Rate Component */
export declare class ElRate extends ElementUIComponent {

interface IRate extends ElementUIComponent {
/** Max rating score */
max: number

Expand Down Expand Up @@ -62,3 +62,5 @@ export declare class ElRate extends ElementUIComponent {
/** Text template when the component is read-only */
scoreTemplate: string
}
/** Rate Component */
export const ElRate:IRate

0 comments on commit 7afa77f

Please sign in to comment.