main
Last change
on this file since 0c6b92a was 0c6b92a, checked in by stefan toskovski <stefantoska84@…>, 5 weeks ago |
Pred finalna verzija
|
-
Property mode
set to
100644
|
File size:
555 bytes
|
Line | |
---|
1 | import styles from "../EntranceModal/EntranceModal.module.css";
|
---|
2 | import React from "react";
|
---|
3 |
|
---|
4 | export default function ModalNameField({shapeInfo,updateModalData,phtext}) {
|
---|
5 | return (
|
---|
6 | <div className={styles.formGroup}>
|
---|
7 | <label htmlFor="name">Name:</label>
|
---|
8 | <input
|
---|
9 | type="text"
|
---|
10 | id="name"
|
---|
11 | name="name"
|
---|
12 | value={shapeInfo.name}
|
---|
13 | onChange={updateModalData}
|
---|
14 | placeholder={phtext}
|
---|
15 | required
|
---|
16 | />
|
---|
17 | </div>
|
---|
18 | )
|
---|
19 | } |
---|
Note:
See
TracBrowser
for help on using the repository browser.