@ambuj.bhaskar/react-component-library 0.0.5 → 0.0.6

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/README.md CHANGED
@@ -13,3 +13,4 @@ The library has 3 parts:
13
13
  Currently it has support for the following components:
14
14
 
15
15
  - `Button`
16
+ - `Input`
@@ -1 +1,19 @@
1
+ import { ComponentProps } from 'react';
2
+
3
+ export declare const Button: React.FC<ButtonProps>;
4
+
5
+ declare type ButtonProps = HTMLButtonProps & {
6
+ variant?: "primary" | "secondary";
7
+ };
8
+
9
+ declare type HTMLButtonProps = ComponentProps<"button">;
10
+
11
+ declare type HTMLInputProps = ComponentProps<"input">;
12
+
13
+ export declare const Input: React.FC<InputProps>;
14
+
15
+ declare type InputProps = HTMLInputProps & {
16
+ variant?: "primary" | "secondary";
17
+ };
18
+
1
19
  export { }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ambuj.bhaskar/react-component-library",
3
3
  "private": false,
4
- "version": "0.0.5",
4
+ "version": "0.0.6",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"