Skip to content

Commit

Permalink
docs: add footer local
Browse files Browse the repository at this point in the history
  • Loading branch information
97vack authored May 20, 2024
1 parent ee912c8 commit 5089cdc
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .dumi/theme/locales/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@
"hero.feature.typeTitle": "Type Inference",
"hero.feature.type": "Provide complete type inference and form model data inference.",
"hero.feature.sandPackage": "Online quiz",
"hero.footer.source": "Related Resources",
"hero.footer.useCase": "Use Cases",
"hero.footer.plan": "Implementation Plan for Controlled React Forms",
"hero.footer.license": "License",
"hero.footer.wxin": "wxin",
"hero.footer.friendshipLink": "Friendship Link",
"footer.desc.star.text": "If it makes your form development easier, please add a star to us",
"footer.desc.issue.text": "If you encounter difficulties during use, please let us know",
"API.useForm.render.desc": "The form item rendering function accepts two parameters, the first parameter is the form item field, and the second parameter is the form item configuration.<div>More configurations: <a href='/intro/api#formitem'>FormItem</a></div>",
Expand Down Expand Up @@ -84,4 +90,4 @@
"API.form.global.props.formItem.requireIndicator": "Form item required indicator. The default is *. Versions after 1.5.1 include 1.5.1 support for passing in custom components.",
"API.form.global.props.formItem.label": "Form item label.",
"API.form.global.props.formItem.getContent": "When using the FormItem component to create a controlled form item, you need to pass in this method, which returns the content that needs to be rendered. The parameters of getContent include the form item's API, the form item's model data, verification status, and attrs that conform to native attributes. Developers can perform corresponding logical processing on these parameters. In the form item API returned by the parameter, developers can directly call it to trigger the corresponding event of the form item to achieve more precise and detailed control."
}
}

0 comments on commit 5089cdc

Please sign in to comment.