-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #20 from DiSSCo/ImplementTaxonomicServiceForm
Implement taxonomic service form
- Loading branch information
Showing
22 changed files
with
1,703 additions
and
31 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
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
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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
/* Import Dependencies */ | ||
import { Field } from "formik"; | ||
|
||
|
||
/* Props Type */ | ||
type Props = { | ||
name: string, | ||
title: string | ||
}; | ||
|
||
|
||
/** | ||
* Component that renders an input field for a free text insert | ||
* @param name The name of the form field | ||
* @param title The title that should be displayed along the form field | ||
* @returns JSX Component | ||
*/ | ||
const InputField = (props: Props) => { | ||
const { name, title } = props; | ||
|
||
return ( | ||
<div> | ||
<p> | ||
{title} | ||
</p> | ||
<Field name={name} | ||
className="w-100" | ||
/> | ||
</div> | ||
); | ||
}; | ||
|
||
export default InputField; |
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
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
Oops, something went wrong.