浏览代码

Update registration form layout

Use formatted components instead of all freeform components.
pull/1/head
父节点
当前提交
3a3e90b9a4
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. +3
    -2
      showcases/web-kitchensink-reactnext/src/pages/examples/registration-form/index.tsx

+ 3
- 2
showcases/web-kitchensink-reactnext/src/pages/examples/registration-form/index.tsx 查看文件

@@ -1,5 +1,6 @@
import { NextPage } from 'next';
import * as Freeform from '@tesseract-design/web-freeform-react';
import * as Formatted from '@tesseract-design/web-formatted-react';
import * as Action from '@tesseract-design/web-action-react';

const RegistrationFormPage: NextPage = () => {
@@ -43,7 +44,7 @@ const RegistrationFormPage: NextPage = () => {
/>
</div>
<div className="sm:col-span-3">
<Freeform.TextInput
<Formatted.EmailInput
block
border
label="Email"
@@ -51,7 +52,7 @@ const RegistrationFormPage: NextPage = () => {
/>
</div>
<div className="sm:col-span-3">
<Freeform.TextInput
<Formatted.UrlInput
block
border
label="Website"


正在加载...
取消
保存