@flyui-kit/react
Advanced tools
Comparing version 0.1.1 to 0.1.2
'use strict'; | ||
Object.defineProperty(exports, '__esModule', { value: true }); | ||
var React = require('react'); | ||
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; } | ||
var React__default = /*#__PURE__*/_interopDefaultLegacy(React); | ||
function Button(props) { | ||
const { | ||
children, | ||
type = 'submit' | ||
} = props; | ||
return /*#__PURE__*/React__default["default"].createElement("button", { | ||
type: type | ||
}, children); | ||
} | ||
exports.Button = Button; |
@@ -0,1 +1,13 @@ | ||
import React from 'react'; | ||
function Button(props) { | ||
const { | ||
children, | ||
type = 'submit' | ||
} = props; | ||
return /*#__PURE__*/React.createElement("button", { | ||
type: type | ||
}, children); | ||
} | ||
export { Button }; |
{ | ||
"name": "@flyui-kit/react", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "FlyUI Component Kit", | ||
@@ -30,3 +30,2 @@ "keywords": [ | ||
"@rollup/plugin-babel": "^5.3.0", | ||
"@rollup/plugin-commonjs": "^21.0.0", | ||
"react": "^17.0.2", | ||
@@ -37,3 +36,3 @@ "rollup": "^2.58.0", | ||
}, | ||
"gitHead": "f29c0c7c5e58239511a8ef5ad8d6bc30d6dfbfc7" | ||
"gitHead": "b8201e95e4ab0f1e0b4d98ae8236dbda312e57c8" | ||
} |
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
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
1681
7
26
0