Bladeren bron

Update registration form layout

Use formatted components instead of all freeform components.
pull/1/head
TheoryOfNekomata 1 jaar geleden
bovenliggende
commit
3a3e90b9a4
1 gewijzigde bestanden met toevoegingen van 3 en 2 verwijderingen
  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 Bestand weergeven

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


Laden…
Annuleren
Opslaan