mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-25 01:48:43 +08:00
df20821fd6
* extract out zoombuttons component * newline Signed-off-by: Kerry Archibald <kerrya@element.io> * stylelint Signed-off-by: Kerry Archibald <kerrya@element.io> * remove skinned sdk Signed-off-by: Kerry Archibald <kerrya@element.io>
72 lines
1.6 KiB
Plaintext
72 lines
1.6 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`<ZoomButtons /> renders buttons 1`] = `
|
|
<ZoomButtons
|
|
map={
|
|
MockMap {
|
|
"_events": Object {},
|
|
"_eventsCount": 0,
|
|
"_maxListeners": undefined,
|
|
"addControl": [MockFunction],
|
|
"removeControl": [MockFunction],
|
|
"zoomIn": [MockFunction],
|
|
"zoomOut": [MockFunction],
|
|
Symbol(kCapture): false,
|
|
}
|
|
}
|
|
>
|
|
<div
|
|
className="mx_ZoomButtons"
|
|
>
|
|
<AccessibleButton
|
|
className="mx_ZoomButtons_button"
|
|
data-test-id="map-zoom-in-button"
|
|
element="div"
|
|
onClick={[Function]}
|
|
role="button"
|
|
tabIndex={0}
|
|
title="Zoom in"
|
|
>
|
|
<div
|
|
className="mx_AccessibleButton mx_ZoomButtons_button"
|
|
data-test-id="map-zoom-in-button"
|
|
onClick={[Function]}
|
|
onKeyDown={[Function]}
|
|
onKeyUp={[Function]}
|
|
role="button"
|
|
tabIndex={0}
|
|
title="Zoom in"
|
|
>
|
|
<div
|
|
className="mx_ZoomButtons_icon"
|
|
/>
|
|
</div>
|
|
</AccessibleButton>
|
|
<AccessibleButton
|
|
className="mx_ZoomButtons_button"
|
|
data-test-id="map-zoom-out-button"
|
|
element="div"
|
|
onClick={[Function]}
|
|
role="button"
|
|
tabIndex={0}
|
|
title="Zoom out"
|
|
>
|
|
<div
|
|
className="mx_AccessibleButton mx_ZoomButtons_button"
|
|
data-test-id="map-zoom-out-button"
|
|
onClick={[Function]}
|
|
onKeyDown={[Function]}
|
|
onKeyUp={[Function]}
|
|
role="button"
|
|
tabIndex={0}
|
|
title="Zoom out"
|
|
>
|
|
<div
|
|
className="mx_ZoomButtons_icon"
|
|
/>
|
|
</div>
|
|
</AccessibleButton>
|
|
</div>
|
|
</ZoomButtons>
|
|
`;
|