Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
rest = _objectWithoutPropertiesLoose(_ref2, ["color"]);
return _extends({
fromTarget: fromTarget,
toTarget: toTarget,
color: color || 'accent-1',
thickness: 'xsmall',
round: true,
type: 'rectilinear'
}, rest);
};
var themes = {
dark: _themes.dark,
grommet: _themes.grommet,
hpe: _grommetThemeHpe.hpe,
aruba: _grommetThemeAruba.aruba,
hp: _grommetThemeHp.hp,
dxc: _grommetThemeDxc.dxc,
v1: _grommetThemeV.v1
};
var Components = function Components() {
var _useState = (0, _react.useState)(24),
baseSize = _useState[0],
setBaseSize = _useState[1];
var _useState2 = (0, _react.useState)(true),
checkBox = _useState2[0],
setCheckBox = _useState2[1];
var _useState3 = (0, _react.useState)('RadioButton 1'),