blob: 547e1401aa2d53bbb0d63fe916c199f6594c7fb1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
import React from 'react'
import { TextArea } from 'app/common'
export default function TileScriptForm({ tile, errorFields, parent }) {
return (
<div>
<TextArea
title=""
name="content"
required
data={tile.settings}
error={errorFields.has('content')}
onChange={parent.handleSettingsChange}
autoComplete="off"
/>
<div>
Scripts will be run on the live site when this page loads.
</div>
</div>
)
}
|