/
githubmr
/
facebook-react
Обзор
Документация
Войти
/
githubmr
/
facebook-react
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
main
fixtures/flight-parcel/src/TodoCreate.tsx
18 строк
396 B
Devon Govett
Implement react-server-dom-parcel (#31725)
12 дек 2024, 06:58
Не верифицирован
12 дек 2024, 06:58
ca58742
Код
Авторство
О чём код?
import {createTodo} from './actions'; export function TodoCreate() { return ( <form action={createTodo}> <label> Title: <input name="title" /> </label> <label> Description: <textarea name="description" /> </label> <label> Due date: <input type="date" name="dueDate" /> </label> <button>Add todo</button> </form> ); }