2017-09-01 19:42:50 +00:00
|
|
|
import React from 'react';
|
|
|
|
import { ScrollView } from 'react-native';
|
2017-12-08 19:36:03 +00:00
|
|
|
import { Provider } from 'react-redux';
|
2017-09-01 19:42:50 +00:00
|
|
|
|
2017-12-08 19:36:03 +00:00
|
|
|
import { createStore, combineReducers } from 'redux';
|
2017-09-01 20:20:34 +00:00
|
|
|
import Avatar from '../../app/containers/Avatar';
|
2017-09-01 19:42:50 +00:00
|
|
|
|
2017-12-08 19:36:03 +00:00
|
|
|
const reducers = combineReducers({ settings: () => ({}) });
|
|
|
|
const store = createStore(reducers);
|
|
|
|
|
|
|
|
|
2017-09-01 19:42:50 +00:00
|
|
|
export default (
|
2017-12-08 19:36:03 +00:00
|
|
|
<Provider store={store}>
|
|
|
|
<ScrollView>
|
|
|
|
<Avatar text='test' />
|
|
|
|
<Avatar size={40} text='aa' />
|
|
|
|
<Avatar size={30} text='bb' />
|
|
|
|
<Avatar text='test' borderRadius={2} />
|
|
|
|
</ScrollView>
|
|
|
|
</Provider>
|
2017-09-01 19:42:50 +00:00
|
|
|
);
|