react-simple-phone-input 1.0.3-beta → 1.0.5-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 CHANGED
@@ -2832,8 +2832,9 @@ function styleInject(css, ref) {
2832
2832
  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}";
2833
2833
  styleInject(css_248z);
2834
2834
 
2835
- const Button = ({ children }) => {
2836
- return (React.createElement("button", { className: "siButton" }, children));
2835
+ const Button = ({ children, style, textStyle }) => {
2836
+ return (React.createElement("button", { className: "siButton", style: style },
2837
+ React.createElement("p", { style: textStyle }, children)));
2837
2838
  };
2838
2839
 
2839
2840
  exports.Button = Button;