import { CSSProperties } from 'react' ; const buildStyles = ( customStyles ? ) : CSSProperties => { if ( ! customStyles ) return { } ; const newStyles = { ... customStyles } ; return newStyles ; } ; export default buildStyles ;