Merged in feat/SW-1711-SW-2077-icons (pull request #1709)
Fix(SW-1711)/(SW-2077): Export icons individually * fix(SW-1711): export icons individually Approved-by: Michael Zetterberg Approved-by: Erik Tiekstra
This commit is contained in:
@@ -1,12 +1,10 @@
|
||||
import {
|
||||
DowntownCamperIcon,
|
||||
GrandHotelOsloLogoIcon,
|
||||
HaymarketIcon,
|
||||
HotelNorgeIcon,
|
||||
MarskiLogoIcon,
|
||||
ScandicGoLogoIcon,
|
||||
ScandicLogoIcon,
|
||||
} from '..'
|
||||
import DowntownCamperIcon from './DowntownCamper'
|
||||
import GrandHotelOsloLogoIcon from './GrandHotelOslo'
|
||||
import HaymarketIcon from './Haymarket'
|
||||
import HotelNorgeIcon from './HotelNorge'
|
||||
import MarskiLogoIcon from './Marski'
|
||||
import ScandicGoLogoIcon from './ScandicGoLogo'
|
||||
import ScandicLogoIcon from './ScandicLogo'
|
||||
|
||||
type HotelLogoProps = {
|
||||
hotelId: string
|
||||
@@ -27,7 +25,7 @@ enum SignatureHotelEnum {
|
||||
Marski = '605',
|
||||
}
|
||||
|
||||
export default function HotelLogo({ hotelId, hotelType }: HotelLogoProps) {
|
||||
export default function HotelLogoIcon({ hotelId, hotelType }: HotelLogoProps) {
|
||||
if (hotelType === HotelTypeEnum.ScandicGo) {
|
||||
return <ScandicGoLogoIcon />
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user