Skip to content

Latest commit

 

History

History
29 lines (24 loc) · 454 Bytes

SimpleToolbar.md

File metadata and controls

29 lines (24 loc) · 454 Bytes

SimpleToolbar

使用

...
import {SimpleToolbar} from 'material-elements'
...

render(){
    return (
        <View>
        <SimpleToolbar onLeftIconPress={()=>{}} title="主题"/>
</View>
    )
}

API

static propTypes = {
        title: PropTypes.string,
        leftIconName:PropTypes.string,
        rightIconName:PropTypes.string,
        onLeftIconPress:PropTypes.func,
        onRightIconPress:PropTypes.func,
    }