-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdialog.js
More file actions
60 lines (57 loc) · 1.56 KB
/
Copy pathdialog.js
File metadata and controls
60 lines (57 loc) · 1.56 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
/* dialog.tsx generated by @compiled/babel-plugin v0.38.1 */
import _extends from "@babel/runtime/helpers/extends";
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
var _excluded = ["alt"];
import "./dialog.compiled.css";
import * as React from 'react';
import { ax, ix } from "@compiled/react/runtime";
import { Box } from '@atlaskit/primitives/compiled';
var imageStyles = null;
var actionItemContainerStyles = {
root: "_1e0c1txw _2lx21sbv _6rthze3t _1pfhze3t _12l2r5cr _ahbqr5cr"
};
var actionItemStyles = {
root: "_6rthze3t _1pfhze3t _12l21b66 _ahbq1b66"
};
/**
* __Dialog image__
*
* An optional header image in spotlight dialogs.
*
* @internal
*/
export var DialogImage = function DialogImage(_ref) {
var alt = _ref.alt,
props = _objectWithoutProperties(_ref, _excluded);
return /*#__PURE__*/React.createElement("img", _extends({
alt: alt
}, props, {
className: ax(["_p12f1osq _4t3i1wug"])
}));
};
/**
* __Dialog action item container__
*
* Flex wrapper around dialog action items.
*
* @internal
*/
export var DialogActionItemContainer = function DialogActionItemContainer(_ref2) {
var children = _ref2.children;
return /*#__PURE__*/React.createElement(Box, {
xcss: actionItemContainerStyles.root
}, children);
};
/**
* __Dialog action item__
*
* Action items shown inside of the dialog.
*
* @internal
*/
export var DialogActionItem = function DialogActionItem(_ref3) {
var children = _ref3.children;
return /*#__PURE__*/React.createElement(Box, {
xcss: actionItemStyles.root
}, children);
};