index_20190419100403.js 850 Bytes
Newer Older
.  
baiguangyao committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
import React, { Component } from 'react';
import { Flex, WhiteSpace, NavBar } from 'antd-mobile';
import './index.scss';

class My extends Component {

    render() {
        return (
            <div className="flex-container">
                <Flex>
                    <Flex.Item>
                        <div style={{ backgrond: "#f7f9fc"}}>
                        <NavBar
                            mode="light"
                            onLeftClick={() => console.log('onLeftClick')}
                            rightContent={[
                            ]}
                        >
                            我的
                        </NavBar>
                        </div>
                    </Flex.Item>
                </Flex>
                <WhiteSpace size="lg" />
            </div>
        )
    }

}

export default My;