@atlaskit/onboarding
Version:
An onboarding spotlight introduces new features to users through focused messages or multi-step tours.
80 lines (75 loc) • 2.15 kB
JavaScript
/* modal.tsx generated by @compiled/babel-plugin v3.0.2 */
import "./modal.compiled.css";
import * as React from 'react';
import { ax, ix } from "@compiled/react/runtime";
import { Box } from '@atlaskit/primitives/compiled';
const modalBodyStyles = null;
const modalHeadingStyles = null;
const modalImageStyles = null;
const modalActionContainerStyles = null;
const modalActionContainerReversedStyles = null;
const modalActionItemStyles = {
root: "_6rth1b66 _1pfhze3t _12l21b66 _ahbq1b66"
};
/**
* __Modal body__
*
* @internal
*/
export const ModalBody = ({
children
}) => /*#__PURE__*/React.createElement("div", {
className: ax(["_85i51jfw _1q511jfw _y4tipxbi _bozgpxbi _y3gn1h6o"])
}, children);
/**
* __Modal heading__
*
* @internal
*/
// eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports, @repo/internal/react/require-jsdoc
export const ModalHeading = ({
children,
id
}) => {
return /*#__PURE__*/React.createElement("h1", {
id: id,
className: ax(["_11c81af2 _syaz1kw7 _6rthu2gc"])
}, children);
};
/**
* __Modal image__
*
* @internal
*/
// eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports, @repo/internal/react/require-jsdoc
export const ModalImage = ({
alt,
src
}) => /*#__PURE__*/React.createElement("img", {
alt: alt,
src: src,
className: ax(["_1bsb1osq _4t3i1wug _5fbcfajl _1s1gfajl _j722idpf"])
});
/**
* __Modal action container__
*
* @internal
*/
// eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports, @repo/internal/react/require-jsdoc
export const ModalActionContainer = ({
children,
shouldReverseButtonOrder
}) => /*#__PURE__*/React.createElement("div", {
className: ax(["_2lx2vrvc _1n261g80 _1e0c1txw _1bah1h6o _85i514no _1q51ze3t _y4ti1jfw _bozg1jfw", shouldReverseButtonOrder && "_2lx21sbv"])
}, children);
/**
* __Modal action item__
*
* @internal
*/
// eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports, @repo/internal/react/require-jsdoc
export const ModalActionItem = ({
children
}) => /*#__PURE__*/React.createElement(Box, {
xcss: modalActionItemStyles.root
}, children);