From 3184179d2ba4b5bccde83d8590d3e538fab0ad22 Mon Sep 17 00:00:00 2001 From: silentcloud Date: Tue, 13 Jun 2017 18:25:52 +0800 Subject: [PATCH] feat:support indicatorStyle for picker-view --- components/picker-view/index.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/components/picker-view/index.tsx b/components/picker-view/index.tsx index 363c5f826e..6ba29bdbe4 100644 --- a/components/picker-view/index.tsx +++ b/components/picker-view/index.tsx @@ -23,6 +23,7 @@ export interface IPickerView { data?: any; styles?: any; onChange?: (value?) => void; + indicatorStyle?: any; } export default class Picker extends React.Component { @@ -40,6 +41,7 @@ export default class Picker extends React.Component { value={props.value} onChange={props.onChange} cols={props.cols} + indicatorStyle={props.indicatorStyle} /> ); } else { @@ -49,6 +51,7 @@ export default class Picker extends React.Component { selectedValue={props.value} onValueChange={props.onChange} pickerPrefixCls={props.pickerPrefixCls} + indicatorStyle={props.indicatorStyle} > {props.data.map(children => { return { props: { children } }; })}