Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const getHalfSizeCss = sizeCss => `${toInt(sizeCss) / 2}px`;
const smallRadioHalfSize = getHalfSizeCss(smallRadioSize);
const getLabelLeftPadding = (radioSize, hasLabel) => {
return hasLabel ? `${toInt(radioSize) + toInt(tokens.space)}px` : radioSize;
};