-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add missing WizardErrors that was lost during migration (#1506)
* feat: Add missing WizardErrors that was lost during migration * fix: Rename DualFieldWrapper into WizardDualFieldWrapper * chore: Add Quentin as codeowner
- Loading branch information
Showing
3 changed files
with
23 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
# General code owners | ||
* @ptbrowne @y-lohse | ||
* @ptbrowne @y-lohse @crash-- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,8 @@ import { | |
WizardNextButton, | ||
WizardTitle, | ||
WizardMain, | ||
WizardFooter | ||
WizardFooter, | ||
WizardErrors | ||
} from '.' | ||
import Icon from 'cozy-ui/transpiled/react/Icon' | ||
import Field from 'cozy-ui/transpiled/react/Field' | ||
|
@@ -39,6 +40,9 @@ const WizardExample = ({ onNext, onRegister }) => { | |
<WizardMain> | ||
<Field label='Login' type='text' placeholder='[email protected]' /> | ||
<Field label='Password' type='text' /> | ||
<WizardErrors tag='p'> | ||
There is an error | ||
</WizardErrors> | ||
</WizardMain> | ||
<WizardFooter className={isTiny ? 'u-mt-auto' : 'u-pb-2'}> | ||
<WizardNextButton | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters