initial setup, formik, fields, layout
This commit is contained in:
parent
765cc0c7cf
commit
b23d706180
16 changed files with 578 additions and 53 deletions
20
components/Form/StatusField.tsx
Normal file
20
components/Form/StatusField.tsx
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
import React from "react"
|
||||
|
||||
const StatusField = ({
|
||||
label,
|
||||
statusLabel,
|
||||
statusColor,
|
||||
}: {
|
||||
label: string
|
||||
statusLabel: string
|
||||
statusColor: string
|
||||
}) => {
|
||||
return (
|
||||
<div>
|
||||
<h4>{label}</h4>
|
||||
<span className={statusColor}>{statusLabel}</span>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
export default StatusField
|
||||
Loading…
Add table
Add a link
Reference in a new issue