mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-11 21:27:05 +00:00
Update src/components/NumberInput/NumberInput.tsx
Co-authored-by: Timothy Z. <timothy@stremio.com>
This commit is contained in:
parent
d7974babdd
commit
3dcd0020c9
1 changed files with 5 additions and 1 deletions
|
|
@ -90,7 +90,11 @@ const NumberInput = forwardRef<HTMLInputElement, Props>(({ defaultValue, showBut
|
|||
: null
|
||||
}
|
||||
<div className={classnames(styles['number-display'], showButtons ? styles['buttons-container'] : '')}>
|
||||
{props.label && <div className={styles['label']}>{props.label}</div>}
|
||||
{
|
||||
props.label ?
|
||||
<div className={styles['label']}>{props.label}</div>
|
||||
: null
|
||||
}
|
||||
<input
|
||||
ref={ref}
|
||||
type={'number'}
|
||||
|
|
|
|||
Loading…
Reference in a new issue