(styleName: string, value: any)
| 202 | }; |
| 203 | |
| 204 | export const setValueForStyle = (styleName: string, value: any) => { |
| 205 | if (typeof value === 'number' && value !== 0 && !isUnitlessNumber(styleName)) { |
| 206 | return value + 'px'; |
| 207 | } |
| 208 | return value; |
| 209 | }; |
| 210 | |
| 211 | export const getNextIndex = (ctx: RenderContext) => { |
| 212 | return intToStr(ctx.$static$.$containerState$.$elementIndex$++); |
no test coverage detected
searching dependent graphs…