UNPKG

dicom-microscopy-viewer

Version:
10 lines (9 loc) 218 B
export const getCurrentStyle = (feature) => { const style = feature.getStyle() if (typeof style === 'function') { const resolution = null return style(feature, resolution) } else { return style } }