28 | {!minimal && steps ?
: null}
29 | {showRange ? (
30 |
31 |
43 |
44 | {min}
45 | {minimal && {currentValue}}
46 | {max}
47 |
48 |
49 | ) : null}
50 | {(!minimal || !showRange) && (
51 |
65 | )}
66 |
67 | );
68 | });
69 |
70 | export default RangeEditor;
71 |
--------------------------------------------------------------------------------
/src/components/editors/TextEditor.tsx:
--------------------------------------------------------------------------------
1 | import { type InputHTMLAttributes, memo, useEffect, useState } from "react";
2 |
3 | type TextProps = Omit