mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-04-20 02:22:09 +00:00
Removed classnames
This commit is contained in:
parent
892c6310ed
commit
27b242423a
1 changed files with 3 additions and 4 deletions
|
|
@ -1,5 +1,4 @@
|
|||
const React = require('react');
|
||||
const classnames = require('classnames');
|
||||
const PropTypes = require('prop-types');
|
||||
const { Modal } = require('stremio-router');
|
||||
const Button = require('stremio/common/Button');
|
||||
|
|
@ -38,11 +37,11 @@ const ColorInput = ({ className, value, onChange }) => {
|
|||
<Modal className={styles['color-input-modal']} onMouseDown={modalBackgroundOnClick}>
|
||||
<div className={styles['color-input-container']}>
|
||||
<Button onClick={closeColorInput}>
|
||||
<Icon className={classnames(styles['x-icon'])} icon={'ic_x'} />
|
||||
<Icon className={styles['x-icon']} icon={'ic_x'} />
|
||||
</Button>
|
||||
<h1>Choose a color:</h1>
|
||||
<ColorPicker className={classnames(styles['color-input'])} value={selectedColor} onChange={setSelectedColor} />
|
||||
<Button className={classnames(styles['button'])} onClick={confirmColorInput}>Select</Button>
|
||||
<ColorPicker className={styles['color-input']} value={selectedColor} onChange={setSelectedColor} />
|
||||
<Button className={styles['button']} onClick={confirmColorInput}>Select</Button>
|
||||
</div>
|
||||
</Modal>
|
||||
:
|
||||
|
|
|
|||
Loading…
Reference in a new issue