export const Title = ({ title, onInput }) => (
    <>
        <label class="is-sr-only" for="embedTitle">
            Embed Title
        </label>
        <textarea
            class="discord-title message-input  autoresize"
            placeholder="Embed Title..."
            maxlength={256}
            rows={1}
            name="embed_title"
            value={title}
            onInput={(ev) => {
                onInput(ev.currentTarget.value);
            }}
        ></textarea>
    </>
);
