1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-01 21:57:06 +01:00
metamask-extension/ui/components/app/metamask-template-renderer/safe-component-list.js
2023-07-12 09:29:54 +01:00

54 lines
1.6 KiB
JavaScript

import Button from '../../ui/button';
import Chip from '../../ui/chip';
import DefinitionList from '../../ui/definition-list';
import TruncatedDefinitionList from '../../ui/truncated-definition-list';
import Popover from '../../ui/popover';
import Typography from '../../ui/typography';
import Box from '../../ui/box';
import MetaMaskTranslation from '../metamask-translation';
import NetworkDisplay from '../network-display';
import TextArea from '../../ui/textarea/textarea';
import TextField from '../../ui/text-field';
import ConfirmationNetworkSwitch from '../../../pages/confirmation/components/confirmation-network-switch';
import UrlIcon from '../../ui/url-icon';
import Tooltip from '../../ui/tooltip/tooltip';
import { AvatarIcon } from '../../component-library';
import ActionableMessage from '../../ui/actionable-message/actionable-message';
///: BEGIN:ONLY_INCLUDE_IN(snaps)
import { SnapDelineator } from '../snaps/snap-delineator';
import { Copyable } from '../snaps/copyable';
import Spinner from '../../ui/spinner';
import { SnapUIMarkdown } from '../snaps/snap-ui-markdown';
///: END:ONLY_INCLUDE_IN
export const safeComponentList = {
a: 'a',
ActionableMessage,
AvatarIcon,
b: 'b',
Box,
Button,
Chip,
ConfirmationNetworkSwitch,
DefinitionList,
div: 'div',
i: 'i',
MetaMaskTranslation,
NetworkDisplay,
p: 'p',
Popover,
span: 'span',
TextArea,
TextField,
Tooltip,
TruncatedDefinitionList,
Typography,
UrlIcon,
///: BEGIN:ONLY_INCLUDE_IN(snaps)
Copyable,
SnapDelineator,
SnapUIMarkdown,
Spinner,
///: END:ONLY_INCLUDE_IN
};