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.
- package/dist/cjs/index.js +4 -33
- 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/button/Button.d.ts +1 -1
- package/dist/cjs/types/components/index.d.ts +1 -1
- package/dist/esm/index.js +4 -33
- 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/button/Button.d.ts +1 -1
- 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,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
|
-
|
|
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
|
|
1
|
+
export { default as PhoneInput } from "./PhoneInput";
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const PhoneInput: () => JSX.Element;
|
|
2
3
|
|
|
3
|
-
|
|
4
|
-
background?: string;
|
|
5
|
-
}
|
|
6
|
-
declare const Button: React.FunctionComponent<ButtonProps>;
|
|
7
|
-
|
|
8
|
-
export { Button };
|
|
4
|
+
export { PhoneInput };
|
package/package.json
CHANGED