mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-12-31 19:27: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="snipping-tool"
|
|
lang="en-US"
|
|
>
|
|
<header>
|
|
<div
|
|
className="draw-actions"
|
|
>
|
|
<button
|
|
className="action-button"
|
|
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="action-button"
|
|
data-testid="highlight-button"
|
|
onClick={[Function]}
|
|
title="Highlight"
|
|
>
|
|
<img
|
|
src="../renderer/assets/snip-highlight.svg"
|
|
/>
|
|
</button>
|
|
<button
|
|
className="action-button"
|
|
data-testid="erase-button"
|
|
onClick={[Function]}
|
|
title="Erase"
|
|
>
|
|
<img
|
|
src="../renderer/assets/snip-erase.svg"
|
|
/>
|
|
</button>
|
|
</div>
|
|
<div
|
|
className="clear-actions"
|
|
>
|
|
<button
|
|
className="clear-button"
|
|
data-testid="clear-button"
|
|
onClick={[Function]}
|
|
>
|
|
Clear
|
|
</button>
|
|
</div>
|
|
</header>
|
|
<main>
|
|
<div
|
|
className="image-container"
|
|
>
|
|
<AnnotateArea
|
|
annotateAreaDimensions={
|
|
Object {
|
|
"height": 600,
|
|
"width": 800,
|
|
}
|
|
}
|
|
backgroundImagePath=""
|
|
chosenTool="PEN"
|
|
data-testid="annotate-component"
|
|
highlightColor="rgba(0, 142, 255, 0.3"
|
|
imageDimensions={
|
|
Object {
|
|
"height": 600,
|
|
"width": 800,
|
|
}
|
|
}
|
|
onChange={[Function]}
|
|
paths={Array []}
|
|
penColor="rgba(0, 142, 255, 1)"
|
|
/>
|
|
</div>
|
|
</main>
|
|
<footer>
|
|
<button
|
|
className="done-button"
|
|
data-testid="done-button"
|
|
onClick={[Function]}
|
|
>
|
|
Done
|
|
</button>
|
|
</footer>
|
|
</div>
|
|
`;
|