param base param xs internal export const mergeAttribs = ( base , xs ) => { if ( ! xs ) return base ; const res = { ... base , ... xs } ; base . class && xs . class && ( res . class = base . class + " " + xs . class ) ; base . style && xs . style && ( res . style = { ... base . style , ... xs . style } ) ; return res ; } ;