File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 "name" : " @form-example/app-mobile" ,
3- "version" : " 0.0.14 " ,
3+ "version" : " 0.0.15 " ,
44 "private" : true ,
55 "type" : " module" ,
66 "scripts" : {
Original file line number Diff line number Diff line change 11{
22 "name" : " @form-example/app-pc" ,
3- "version" : " 0.0.14 " ,
3+ "version" : " 0.0.15 " ,
44 "private" : true ,
55 "type" : " module" ,
66 "scripts" : {
Original file line number Diff line number Diff line change 11{
22 "name" : " @coding-form/root" ,
3- "version" : " 0.0.14 " ,
3+ "version" : " 0.0.15 " ,
44 "description" : " form-engine" ,
55 "main" : " index.js" ,
66 "scripts" : {
Original file line number Diff line number Diff line change 11{
22 "name" : " @coding-form/form-engine" ,
3- "version" : " 0.0.14 " ,
3+ "version" : " 0.0.15 " ,
44 "description" : " form-engine components" ,
55 "keywords" : [
66 " coding-form" ,
Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ export const FormViewContent: React.FC<FormViewContentProps> = (props) => {
4444 < FormContext . Provider value = { context } >
4545 { props . header }
4646 < FormSubView
47+ className = { props . className }
4748 Form = { Form }
4849 form = { props . form }
4950 formCode = { meta . code }
@@ -57,6 +58,7 @@ export const FormViewContent: React.FC<FormViewContentProps> = (props) => {
5758 { subFormList && subFormList . map ( item => {
5859 return (
5960 < FormSubView
61+ className = { props . className }
6062 Form = { Form }
6163 form = { props . form }
6264 formCode = { item . code }
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ interface FormSubViewProps {
1212 onBlur ?: ( formCode :string ) => void ;
1313 children ?:React . ReactNode ;
1414 layout ?:'horizontal' | 'vertical' ;
15+ className ?: string ;
1516}
1617
1718export const FormSubView : React . FC < FormSubViewProps > = ( props ) => {
Original file line number Diff line number Diff line change @@ -118,4 +118,6 @@ export interface FormViewProps {
118118 events ?: FormEvent [ ] ;
119119 /** 布局控制 **/
120120 layouts ?: FormLayout [ ] ;
121+ /** 样式控制 **/
122+ className ?: string ;
121123}
You can’t perform that action at this time.
0 commit comments