Every line of 'textdecoration' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your JavaScript code is secure.
1 function _textDecoration(decoration, index, color) { 2 return ({ 3 type: 'text', 4 text: decoration, 5 css: [{ 6 top: `${startTop + index * gapSize}rpx`, 7 color: color, 8 textDecoration: decoration, 9 }, common], 10 }); 11 }
1 export default function textDecoration(_name, value) { 2 return { 3 textDecorationLine: value 4 }; 5 }