setOpen(!open)}
38 | title={`Click to ${
39 | open ? "hide" : "show"
40 | } "${title}" directive options`}
41 | >
42 | {title}
43 | {open ? "–" : "+"}
44 |
46 |
47 |
{DirectiveDescriptions[title]}
48 | {enables.length ? (
49 |
50 | Requires: {enables.map(d => d.name).join(", ")}
51 |
52 | ) : null}
53 | {disables.length ? (
54 |
55 | Cannot be used with: {disables.join(", ")}
56 |
57 | ) : null}
58 |
59 |
60 |
76 | {timeFields ? (
77 | api.updateDirectiveArg(evt, title)}
83 | onTimeChange={evt => api.updateDirectiveTime(evt, title)}
84 | time={api.getDirectiveTime(title)}
85 | />
86 | ) : null}
87 |
88 |