mirror of
https://github.com/grafana/grafana.git
synced 2025-02-20 11:48:34 -06:00
57 lines
1005 B
Plaintext
57 lines
1005 B
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`Render should render component 1`] = `
|
|
<Component
|
|
title="Value Mappings"
|
|
>
|
|
<div>
|
|
<MappingRow
|
|
key="Ok-0"
|
|
mapping={
|
|
Object {
|
|
"id": 1,
|
|
"operator": "",
|
|
"text": "Ok",
|
|
"type": 1,
|
|
"value": "20",
|
|
}
|
|
}
|
|
removeMapping={[Function]}
|
|
updateMapping={[Function]}
|
|
/>
|
|
<MappingRow
|
|
key="Meh-1"
|
|
mapping={
|
|
Object {
|
|
"from": "21",
|
|
"id": 2,
|
|
"operator": "",
|
|
"text": "Meh",
|
|
"to": "30",
|
|
"type": 2,
|
|
}
|
|
}
|
|
removeMapping={[Function]}
|
|
updateMapping={[Function]}
|
|
/>
|
|
</div>
|
|
<div
|
|
className="add-mapping-row"
|
|
onClick={[Function]}
|
|
>
|
|
<div
|
|
className="add-mapping-row-icon"
|
|
>
|
|
<i
|
|
className="fa fa-plus"
|
|
/>
|
|
</div>
|
|
<div
|
|
className="add-mapping-row-label"
|
|
>
|
|
Add mapping
|
|
</div>
|
|
</div>
|
|
</Component>
|
|
`;
|