aboutsummaryrefslogtreecommitdiff
path: root/src/index.tsx
diff options
context:
space:
mode:
authorilyayudovin <46264063+ilyayudovin@users.noreply.github.com>2020-06-07 15:29:55 +0300
committerGitHub <noreply@github.com>2020-06-07 15:29:55 +0300
commitce8764580983e0008300bcc88d463da44d94c455 (patch)
tree7a8c780a1c63aa35b774a56acaf2867e78256a93 /src/index.tsx
parentb4e97d85c0285f1a6cd80f165531ac7bb70de982 (diff)
parent584ca75571a73479ee5379ecf2c0a657de365c53 (diff)
downloadwhich-ui-ce8764580983e0008300bcc88d463da44d94c455.tar.gz
Merge pull request #10 from ilyayudovin/poll-component
Create poll-component
Diffstat (limited to 'src/index.tsx')
-rw-r--r--src/index.tsx11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/index.tsx b/src/index.tsx
index 9225909..b59876b 100644
--- a/src/index.tsx
+++ b/src/index.tsx
@@ -7,17 +7,18 @@ import teal from '@material-ui/core/colors/teal';
import 'typeface-roboto';
import Header from './Header/Header';
+import PollCard from './PollCard/PollCard';
const theme = createMuiTheme({
palette: {
primary: {
- main: teal[700],
+ main: teal[700]
},
text: {
primary: '#000000',
- secondary: 'rgba(255, 255, 255, 0.6)',
- },
- },
+ secondary: 'rgba(255, 255, 255, 0.6)'
+ }
+ }
});
const App: React.FC = () => {
@@ -27,7 +28,7 @@ const App: React.FC = () => {
<ThemeProvider theme={theme}>
<CssBaseline />
<Header page={page} setPage={setPage} />
- <h1> Hello, world! </h1>
+ <PollCard />
</ThemeProvider>
);
};