Commit 054bcefa authored by Yannis Barlas's avatar Yannis Barlas

feat(xpub-edit): add readonly prop to texteditor

parent 2a900684
Pipeline #8525 passed with stages
in 9 minutes and 28 seconds
......@@ -8,12 +8,13 @@ import * as options from './config'
const TextEditor = ({
className,
value,
onBlur,
onChange,
placeholder,
placeholderClassName,
readonly,
title,
onBlur,
onChange,
value,
}) => (
<HtmlEditor
className={className}
......@@ -22,6 +23,7 @@ const TextEditor = ({
options={options}
placeholder={placeholder}
placeholderClassName={placeholderClassName}
readonly={readonly}
title={title}
value={value}
/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment