Browse Source

Update registration form layout

Use formatted components instead of all freeform components.
pull/1/head
TheoryOfNekomata 1 year ago
parent
commit
3a3e90b9a4
1 changed files with 3 additions and 2 deletions
  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 View File

@@ -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"


Loading…
Cancel
Save