Skip to content

Commit

Permalink
feat(type): 补充 Picker 组件的 headerText 属性的类型 (#15182)
Browse files Browse the repository at this point in the history
  • Loading branch information
DBvc authored Jan 28, 2024
1 parent ff931a2 commit c094615
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/taro-components/types/Picker.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ import { StyleProp, TextStyle, ViewStyle } from 'react-native'
import { StandardProps, CommonEventFunction, FormItemProps } from './common'
/** 选择器通用参数 */
interface PickerStandardProps extends StandardProps, FormItemProps {
/**
* 选择器的标题,微信小程序中仅安卓可用
* @supported weapp
*/
headerText?: string
/**
* 选择器类型,默认是普通选择器
* @default "selector"
Expand Down

0 comments on commit c094615

Please sign in to comment.