-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathindex.js
More file actions
26 lines (23 loc) · 712 Bytes
/
Copy pathindex.js
File metadata and controls
26 lines (23 loc) · 712 Bytes
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
import React from 'react';
import ReactDOM from 'react-dom';
import cogs from './cogs.svg';
import ExtensionStatus from './components/ExtensionStatus';
import DomainButton from './components/DomainButton';
import { openOptionsPage } from '../utils/functions';
function Popup() {
return (
<div>
<header className="header">
<a href="" className="header__options">
<img className="options-icon" src={cogs} onClick={openOptionsPage} />
</a>
<h5 className="header__title">Impulse Blocker</h5>
</header>
<main>
<ExtensionStatus />
<DomainButton />
</main>
</div>
);
}
ReactDOM.render(<Popup />, document.getElementById('root'));