import { Layer } from '../types' ; param { Object } layer export const isOnlyContainer = ( layer ) => { if ( layer . type != "Container" ) { return false ; } if ( ! layer . style ) { return false ; } if ( layer . style [ 'border-radius' ] || layer . style [ 'border' ] || layer . style [ 'background-color' ] || layer . style [ 'background' ] || layer . style [ 'background-image' ] ) { return false ; } return true ; } ;