import * as React from 'react';
import { View, Text } from 'react-native';
import {
ActionButton,
Avatar,
ThemeProvider,
COLOR,
Badge,
Button,
Card,
Checkbox,
Dialog,
DialogDefaultActions,
BottomNavigation
} from 'react-native-material-ui';
const theme = {
palette: {
accentColor: COLOR.amber500,
primaryColor: COLOR.indigo700
},
fontFamily: 'System'
};
const Example = () =>
Hello world!
console.log(a)}/>
;
const DialogExample = () =>
;
class BottomNavigationExample extends React.Component {
constructor() {
super(null);
this.state = {
active: 'today'
};
}
render() {
return (
this.setState({ active: 'today' })}
/>
this.setState({ active: 'people' })}
/>
this.setState({ active: 'bookmark-border' })}
/>
this.setState({ active: 'settings' })}
/>
);
}
}