How to use @commercetools-uikit/text-input - 1 common examples

To help you get started, we’ve selected a few @commercetools-uikit/text-input examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github commercetools / merchant-center-application-kit / website-components-playground / src / pages / form-modal-page.js View on Github external
validate={formikValues => {
                if (TextInput.isEmpty(formikValues.email)) {
                  return { email: { missing: true } };
                }
                return {};
              }}
              onSubmit={formikValues => {

@commercetools-uikit/text-input

A controlled text input component for single-line strings with validation states.

MIT
Latest version published 24 days ago

Package Health Score

81 / 100
Full package analysis

Popular @commercetools-uikit/text-input functions