react-simple-phone-input 1.0.5-beta → 1.0.6-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.js +4 -34
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/PhoneInput/PhoneInput.d.ts +3 -0
- package/dist/cjs/types/components/PhoneInput/index.d.ts +1 -0
- package/dist/cjs/types/components/index.d.ts +1 -1
- package/dist/esm/index.js +4 -34
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/PhoneInput/PhoneInput.d.ts +3 -0
- package/dist/esm/types/components/PhoneInput/index.d.ts +1 -0
- package/dist/esm/types/components/index.d.ts +1 -1
- package/dist/index.d.ts +3 -7
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./PhoneInput";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default as
|
|
1
|
+
export { default as PhoneInput } from "./PhoneInput";
|
package/dist/esm/index.js
CHANGED
|
@@ -2800,40 +2800,10 @@ function requireReact_development () {
|
|
|
2800
2800
|
|
|
2801
2801
|
var React = /*@__PURE__*/getDefaultExportFromCjs(react.exports);
|
|
2802
2802
|
|
|
2803
|
-
|
|
2804
|
-
|
|
2805
|
-
|
|
2806
|
-
|
|
2807
|
-
if (!css || typeof document === 'undefined') { return; }
|
|
2808
|
-
|
|
2809
|
-
var head = document.head || document.getElementsByTagName('head')[0];
|
|
2810
|
-
var style = document.createElement('style');
|
|
2811
|
-
style.type = 'text/css';
|
|
2812
|
-
|
|
2813
|
-
if (insertAt === 'top') {
|
|
2814
|
-
if (head.firstChild) {
|
|
2815
|
-
head.insertBefore(style, head.firstChild);
|
|
2816
|
-
} else {
|
|
2817
|
-
head.appendChild(style);
|
|
2818
|
-
}
|
|
2819
|
-
} else {
|
|
2820
|
-
head.appendChild(style);
|
|
2821
|
-
}
|
|
2822
|
-
|
|
2823
|
-
if (style.styleSheet) {
|
|
2824
|
-
style.styleSheet.cssText = css;
|
|
2825
|
-
} else {
|
|
2826
|
-
style.appendChild(document.createTextNode(css));
|
|
2827
|
-
}
|
|
2828
|
-
}
|
|
2829
|
-
|
|
2830
|
-
var css_248z = ".siButton {\r\n font-size: 14px;\r\n background: red;\r\n border-radius: 4px;\r\n padding: 8px 15px;\r\n color: white;\r\n}";
|
|
2831
|
-
styleInject(css_248z);
|
|
2832
|
-
|
|
2833
|
-
const Button = ({ children, style, textStyle }) => {
|
|
2834
|
-
return (React.createElement("button", { className: "siButton", style: style },
|
|
2835
|
-
React.createElement("p", { style: textStyle }, children)));
|
|
2803
|
+
const PhoneInput = () => {
|
|
2804
|
+
return (React.createElement("div", null,
|
|
2805
|
+
React.createElement("img", { src: "https://lh3.googleusercontent.com/d/1otxg0vwa395hbgPco_CUExdgJPkIx-t4", width: 200, height: 200, alt: "helo" })));
|
|
2836
2806
|
};
|
|
2837
2807
|
|
|
2838
|
-
export {
|
|
2808
|
+
export { PhoneInput };
|
|
2839
2809
|
//# sourceMappingURL=index.js.map
|