mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-11 21:27:05 +00:00
not needed type dropped
This commit is contained in:
parent
c26fdc8850
commit
581193ad54
1 changed files with 3 additions and 3 deletions
|
|
@ -8,7 +8,7 @@ const styles = require('./styles');
|
|||
|
||||
const renderInput = ({ className, href, icon, label }) => {
|
||||
return (
|
||||
<Button className={classnames(styles['button'], className)} type={'link'} href={href} target={'_blank'}>
|
||||
<Button className={classnames(styles['button'], className)} href={href} target={'_blank'}>
|
||||
<Icon className={styles['icon']} icon={icon} />{label}
|
||||
</Button>
|
||||
);
|
||||
|
|
@ -28,7 +28,7 @@ const renderUrl = (url) => {
|
|||
return (
|
||||
<div className={styles['url-container']}>
|
||||
<TextInput ref={inputRef} className={styles['url']} type={'text'} tabIndex={'-1'} defaultValue={url} readOnly />
|
||||
<Button className={styles['copy-button']} type={'button'} onClick={copyToClipboard}>
|
||||
<Button className={styles['copy-button']} onClick={copyToClipboard}>
|
||||
<Icon className={styles['icon']} icon={'ic_link'} />
|
||||
<div className={styles['label']}>Copy</div>
|
||||
</Button>
|
||||
|
|
@ -39,7 +39,7 @@ const renderUrl = (url) => {
|
|||
const SharePrompt = (props) => {
|
||||
return (
|
||||
<div className={styles['share-modal']}>
|
||||
<Button className={styles['x-container']} type={'button'}>
|
||||
<Button className={styles['x-container']}>
|
||||
<Icon className={styles['icon']} icon={'ic_x'} onClick={props.onClose} />
|
||||
</Button>
|
||||
<div className={styles['info-container']}>
|
||||
|
|
|
|||
Loading…
Reference in a new issue