mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-11-22 08:57:00 -06:00
98 lines
2.0 KiB
Plaintext
98 lines
2.0 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`Snipping Tool should render correctly 1`] = `
|
|
<div
|
|
className="SnippingTool"
|
|
lang="en-US"
|
|
>
|
|
<header>
|
|
<div
|
|
className="DrawActions"
|
|
>
|
|
<button
|
|
className="ActionButton"
|
|
data-testid="pen-button"
|
|
onClick={[Function]}
|
|
style={
|
|
Object {
|
|
"border": "2px solid rgba(0, 142, 255, 1)",
|
|
}
|
|
}
|
|
title="Pen"
|
|
>
|
|
<img
|
|
src="../renderer/assets/snip-draw.svg"
|
|
/>
|
|
</button>
|
|
<button
|
|
className="ActionButton"
|
|
data-testid="highlight-button"
|
|
onClick={[Function]}
|
|
title="Highlight"
|
|
>
|
|
<img
|
|
src="../renderer/assets/snip-highlight.svg"
|
|
/>
|
|
</button>
|
|
<button
|
|
className="ActionButton"
|
|
data-testid="erase-button"
|
|
onClick={[Function]}
|
|
title="Erase"
|
|
>
|
|
<img
|
|
src="../renderer/assets/snip-erase.svg"
|
|
/>
|
|
</button>
|
|
</div>
|
|
<div
|
|
className="ClearActions"
|
|
>
|
|
<button
|
|
className="ClearButton"
|
|
data-testid="clear-button"
|
|
onClick={[Function]}
|
|
>
|
|
Clear
|
|
</button>
|
|
</div>
|
|
</header>
|
|
<main>
|
|
<div
|
|
className="imageContainer"
|
|
>
|
|
<AnnotateArea
|
|
annotateAreaDimensions={
|
|
Object {
|
|
"height": 600,
|
|
"width": 800,
|
|
}
|
|
}
|
|
backgroundImagePath=""
|
|
chosenTool="PEN"
|
|
data-testid="annotate-component"
|
|
highlightColor="rgba(0, 142, 255, 0.64)"
|
|
imageDimensions={
|
|
Object {
|
|
"height": 600,
|
|
"width": 800,
|
|
}
|
|
}
|
|
onChange={[Function]}
|
|
paths={Array []}
|
|
penColor="rgba(0, 142, 255, 1)"
|
|
/>
|
|
</div>
|
|
</main>
|
|
<footer>
|
|
<button
|
|
className="DoneButton"
|
|
data-testid="done-button"
|
|
onClick={[Function]}
|
|
>
|
|
Done
|
|
</button>
|
|
</footer>
|
|
</div>
|
|
`;
|