Merged in fix/linting (pull request #2708)
Fix/linting * fix import issues and add lint check no-extraneous-dependencies * fix use type HotelType instead of string Approved-by: Anton Gunnarsson
This commit is contained in:
@@ -35,6 +35,8 @@ interface SelectProps
|
||||
type SelectPortalContainer = HTMLDivElement | undefined
|
||||
type SelectPortalContainerArgs = HTMLDivElement | null
|
||||
|
||||
const DELIMITER = ':'
|
||||
|
||||
/**
|
||||
* @deprecated Do not use.
|
||||
*/
|
||||
@@ -102,7 +104,7 @@ export default function Select({
|
||||
size={discreet ? 'discreet' : 'regular'}
|
||||
>
|
||||
{label}
|
||||
{discreet && `:`}
|
||||
{discreet && DELIMITER}
|
||||
</Label>
|
||||
{selectedText && (
|
||||
<Body className={optionsIcon ? styles.iconLabel : ''}>
|
||||
|
||||
Reference in New Issue
Block a user