Skip to content

Commit

Permalink
fix(types): AtSwitchProps
Browse files Browse the repository at this point in the history
  • Loading branch information
limichange authored Sep 4, 2018
1 parent 159cb22 commit 80efa61
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions @types/switch.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@ import { MouseEvent, ComponentClass } from 'react'
import { BaseEventFunction, BaseEvent } from '@tarojs/components/types/common'

export interface AtSwitchProps {
title: string
title?: string

color: string
color?: string

checked: boolean
checked?: boolean

border: boolean
border?: boolean

disabled: boolean
disabled?: boolean

onChange: (value: boolean) => void
onChange?: (value: boolean) => void
}

declare const AtSwitch: ComponentClass<AtSwitchProps>
Expand Down

0 comments on commit 80efa61

Please sign in to comment.