reykit 1.0.16 → 1.0.18
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/component/Form.d.ts +17 -0
- package/dist/index.d.ts +4 -0
- package/dist/shadcn.css +1 -0
- package/dist/tailwindcss.d.ts +13 -0
- package/package.json +5 -2
- package/dist/index.js +0 -27311
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Form component of prevent access link.
|
|
4
|
+
*
|
|
5
|
+
* Parameters
|
|
6
|
+
* ----------
|
|
7
|
+
* @param handleFormData Handle submited form data.
|
|
8
|
+
* @param link Access router link.
|
|
9
|
+
*
|
|
10
|
+
* Returns
|
|
11
|
+
* -------
|
|
12
|
+
* @returns React element.
|
|
13
|
+
*/
|
|
14
|
+
export default function Form({ handleFormData, link, onSubmit, ...props }: ComponentProps<'form'> & {
|
|
15
|
+
handleFormData?: (formData: FormData) => void;
|
|
16
|
+
link?: string;
|
|
17
|
+
}): import("react/jsx-runtime").JSX.Element;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
|
+
import { default as Form } from './component/Form';
|
|
1
2
|
import { renderReact } from './react';
|
|
2
3
|
import { default as Storager } from './storage';
|
|
4
|
+
import { cn } from './tailwindcss';
|
|
3
5
|
declare const _default: {
|
|
6
|
+
Form: typeof Form;
|
|
4
7
|
renderReact: typeof renderReact;
|
|
5
8
|
Storager: typeof Storager;
|
|
9
|
+
cn: typeof cn;
|
|
6
10
|
};
|
|
7
11
|
export default _default;
|