react-custom-elements
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -237,3 +237,3 @@ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } | ||
_ref$text = _ref.text, | ||
text = _ref$text === void 0 ? "default" : _ref$text, | ||
text = _ref$text === void 0 ? 'default' : _ref$text, | ||
borderRadius = _ref.borderRadius; | ||
@@ -252,4 +252,4 @@ | ||
var Container = styled.div(_templateObject2$2()); | ||
var CheckBox = styled.div(_templateObject3$1(), color ? color : "#111", w ? w : 24, h ? h : 24, borderRadius ? borderRadius : 999); | ||
var CheckBoxChecked = styled.div(_templateObject4$1(), bg ? bg : "#111", color ? color : "#111", w ? w : 24, h ? h : 24, borderRadius ? borderRadius : 999); | ||
var CheckBox = styled.div(_templateObject3$1(), color || '#111', w || 24, h || 24, borderRadius || 999); | ||
var CheckBoxChecked = styled.div(_templateObject4$1(), bg || '#111', color || '#111', w || 24, h || 24, borderRadius || 999); | ||
var Text = styled.p(_templateObject5()); | ||
@@ -364,10 +364,6 @@ return checked ? /*#__PURE__*/React__default.createElement(MasterDiv, null, /*#__PURE__*/React__default.createElement(Container, { | ||
var index = { | ||
Button: Button, | ||
Input: Input, | ||
CheckBox: CheckBox, | ||
Dropdown: Dropdown | ||
}; | ||
module.exports = index; | ||
exports.Button = Button; | ||
exports.CheckBox = CheckBox; | ||
exports.Dropdown = Dropdown; | ||
exports.Input = Input; | ||
//# sourceMappingURL=index.js.map |
@@ -234,3 +234,3 @@ import React__default, { createElement, useState, useEffect } from 'react'; | ||
_ref$text = _ref.text, | ||
text = _ref$text === void 0 ? "default" : _ref$text, | ||
text = _ref$text === void 0 ? 'default' : _ref$text, | ||
borderRadius = _ref.borderRadius; | ||
@@ -249,4 +249,4 @@ | ||
var Container = styled.div(_templateObject2$2()); | ||
var CheckBox = styled.div(_templateObject3$1(), color ? color : "#111", w ? w : 24, h ? h : 24, borderRadius ? borderRadius : 999); | ||
var CheckBoxChecked = styled.div(_templateObject4$1(), bg ? bg : "#111", color ? color : "#111", w ? w : 24, h ? h : 24, borderRadius ? borderRadius : 999); | ||
var CheckBox = styled.div(_templateObject3$1(), color || '#111', w || 24, h || 24, borderRadius || 999); | ||
var CheckBoxChecked = styled.div(_templateObject4$1(), bg || '#111', color || '#111', w || 24, h || 24, borderRadius || 999); | ||
var Text = styled.p(_templateObject5()); | ||
@@ -361,10 +361,3 @@ return checked ? /*#__PURE__*/React__default.createElement(MasterDiv, null, /*#__PURE__*/React__default.createElement(Container, { | ||
var index = { | ||
Button: Button, | ||
Input: Input, | ||
CheckBox: CheckBox, | ||
Dropdown: Dropdown | ||
}; | ||
export default index; | ||
export { Button, CheckBox, Dropdown, Input }; | ||
//# sourceMappingURL=index.modern.js.map |
{ | ||
"name": "react-custom-elements", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "React custom elements ", | ||
@@ -5,0 +5,0 @@ "author": "Muhammed Deniz", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
61026
601