import { IStyleAttr } from '../../typings/style' ; export const stringifyStyle = ( style ) => style . map ( attr => `${ attr . name }:${ attr . value }${ attr . important ? '!important' : '' }` ) . join ( ';' ) ;