diff options
author | eug-vs <eug-vs@keemail.me> | 2021-03-13 21:54:30 +0300 |
---|---|---|
committer | eug-vs <eug-vs@keemail.me> | 2021-03-13 22:42:31 +0300 |
commit | 1b6e230df7ffd31226af1716f5e442c134ea1c38 (patch) | |
tree | d14d71bd7b0073343296b646cb8bf8826bcad31e /src/index.tsx | |
parent | 58c47725b9f2c171065b9e35cdbc0e4525ec7255 (diff) | |
download | commercel-ui-1b6e230df7ffd31226af1716f5e442c134ea1c38.tar.gz |
feat: install tailwindcss
Diffstat (limited to 'src/index.tsx')
-rw-r--r-- | src/index.tsx | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/src/index.tsx b/src/index.tsx index ef2edf8..3b08ba8 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -1,8 +1,14 @@ import React from 'react'; import ReactDOM from 'react-dom'; -import './index.css'; -import App from './App'; -import reportWebVitals from './reportWebVitals'; +import 'tailwindcss/tailwind.css'; +import Paper from './components/Paper'; + + +const App: React.FC = () => ( + <Paper> + Hello, world! + </Paper> +); ReactDOM.render( <React.StrictMode> @@ -10,8 +16,3 @@ ReactDOM.render( </React.StrictMode>, document.getElementById('root') ); - -// If you want to start measuring performance in your app, pass a function -// to log results (for example: reportWebVitals(console.log)) -// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals -reportWebVitals(); |