1
Fork 0
mirror of https://github.com/Steffo99/festa.git synced 2024-10-16 15:07:27 +00:00
festa/components/editable
2022-06-10 00:01:27 +02:00
..
Editable.tsx WIP: file state things 2022-06-08 19:14:00 +02:00
EditableDateTimeLocal.tsx Rename HumanDate to FestaMoment 2022-06-09 23:55:49 +02:00
EditableFilePicker.tsx Improve EditableFilePicker documentation 2022-06-10 00:01:27 +02:00
EditableMarkdown.tsx WIP: file state things 2022-06-08 19:14:00 +02:00
EditableText.tsx WIP: file state things 2022-06-08 19:14:00 +02:00
EditingContext.ts Document and improve editables 2022-06-08 18:00:39 +02:00
README.md Document and improve editables 2022-06-08 18:00:39 +02:00

Editables

This folder contains controlled input components with two modes: a "editing" mode, which displays a box where the user can input data, and a "preview" mode, which renders the value of the data input by the user.

For example, EditableMarkdown displays a textarea in editing mode, and renders the Markdown into a div in preview mode.

The mode of the elements is determined by the current value of the EditingContext they are in.