react-simple-phone-input 1.0.4-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.
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const PhoneInput: () => JSX.Element;
3
+ export default PhoneInput;
@@ -0,0 +1 @@
1
+ export { default } from "./PhoneInput";
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import "./Button.css";
3
3
  interface ButtonProps extends React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement> {
4
- background?: string;
4
+ textStyle?: React.CSSProperties;
5
5
  }
6
6
  declare const Button: React.FunctionComponent<ButtonProps>;
7
7
  export default Button;
@@ -1 +1 @@
1
- export { default as Button } from "./button";
1
+ export { default as PhoneInput } from "./PhoneInput";
package/dist/index.d.ts CHANGED
@@ -1,8 +1,4 @@
1
- import React from 'react';
1
+ /// <reference types="react" />
2
+ declare const PhoneInput: () => JSX.Element;
2
3
 
3
- interface ButtonProps extends React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement> {
4
- background?: string;
5
- }
6
- declare const Button: React.FunctionComponent<ButtonProps>;
7
-
8
- export { Button };
4
+ export { PhoneInput };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-simple-phone-input",
3
- "version": "1.0.4-beta",
3
+ "version": "1.0.6-beta",
4
4
  "description": "A simple react phone input component with calling code dropdown🤷",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",