-
-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Description
I want to add a labelId to the component - which is not a direct prop. Therefore, I assume it should be passed via slots, but since there is no typing or documentation specifying the available components for the slot, I'm unsure which components can be used. Here's the code I'm working with:
const { value, labelId, ...fieldProps } = field;
return (
<MDEditor
{...fieldProps}
data-color-mode={palette.mode}
preview="edit"
style={{ marginTop: 48 }}
value={value ?? ""}
slot={{ textarea: { style: { backgroundColor: "teal" } } }}
/>Metadata
Metadata
Assignees
Labels
No labels