Преглед изворни кода

Update registration form layout

Use formatted components instead of all freeform components.
pull/1/head
TheoryOfNekomata пре 1 година
родитељ
комит
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"


Loading…
Откажи
Сачувај