import React from "react" ; import SymbolSvg from "../assets/logo/logo-symbol.svg" ; import LogotypeSvg from "../assets/logo/logo-text.svg" ; import CombinedSvg from "../assets/logo/logo.svg" ; import { isNil } from "@architus/lib/utility" ; param props function foldDefaults ( props ) { let base = { } ; if ( isNil ( props . height ) && isNil ( props . width ) ) { base = { height : "40px" , width : undefined , } ; } return Object . assign ( base , props ) ; } /**
 * Combined logo with the symbol and logotype text
 */ const Combined = ( props ) => ( < CombinedSvg { ... foldDefaults ( props ) } / > ) ; /**
 * Logo with just the Architus text
 */ const Logotype = ( props ) => ( < LogotypeSvg { ... foldDefaults ( props ) } / > ) ; /**
 * Logo with just the Architus symbol/icon
 */ const Symbol = ( props ) => ( < SymbolSvg { ... foldDefaults ( props ) } / > ) ; export default { Combined , Logotype , Symbol } ;