Skip to content

Commit ffbe0e5

Browse files
committed
add FormItemContext
1 parent 18360dd commit ffbe0e5

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@codingapi/ui-framework",
3-
"version": "0.0.14",
3+
"version": "0.0.15",
44
"description": "A UI Framework built with React and Typescript",
55
"keywords": [
66
"ui",

src/Form/content.ts

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
import React from "react";
2+
import {FormItemProps} from "./types";
3+
4+
export const FormItemContext = React.createContext<FormItemProps|null>(null);

src/Form/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ export * from './instance';
44
export * from './listener';
55
export * from './utils';
66
export * from './validate';
7+
export * from './content';

0 commit comments

Comments
 (0)