|
|
@ -10,7 +10,7 @@ const size = 24
|
|
|
|
|
|
|
|
|
|
|
|
function renderCopyButton({ copied }) {
|
|
|
|
function renderCopyButton({ copied }) {
|
|
|
|
return (
|
|
|
|
return (
|
|
|
|
<button>
|
|
|
|
<button aria-label="Copy Button">
|
|
|
|
{copied ? (
|
|
|
|
{copied ? (
|
|
|
|
<CheckMark color={COLORS.GRAY} width={size} height={size} />
|
|
|
|
<CheckMark color={COLORS.GRAY} width={size} height={size} />
|
|
|
|
) : (
|
|
|
|
) : (
|
|
|
@ -39,6 +39,7 @@ export default ({ titleBar, theme, handleTitleBarChange, copyable, code }) => (
|
|
|
|
{theme === 'bw' ? <ControlsBW /> : <Controls />}
|
|
|
|
{theme === 'bw' ? <ControlsBW /> : <Controls />}
|
|
|
|
<div className="window-title-container">
|
|
|
|
<div className="window-title-container">
|
|
|
|
<input
|
|
|
|
<input
|
|
|
|
|
|
|
|
aria-label="Image Title"
|
|
|
|
value={titleBar}
|
|
|
|
value={titleBar}
|
|
|
|
type="text"
|
|
|
|
type="text"
|
|
|
|
spellCheck="false"
|
|
|
|
spellCheck="false"
|
|
|
|