This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import _slicedToArray from "@babel/runtime/helpers/slicedToArray"; | |
import React, { useState, useEffect } from "react"; | |
import cx from "classnames"; | |
import { Button } from "../Button"; | |
import styles from "./Drawer.less"; | |
export var Drawer = /*#__PURE__*/React.memo(function Drawer(props) { | |
var _useState = useState(Boolean(props.open)), | |
_useState2 = _slicedToArray(_useState, 2), | |
open = _useState2[0], | |
setOpen = _useState2[1]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from "react"; | |
import { Link } from "react-router-dom"; | |
import styles from "./AppLink.less"; | |
import cx from "classnames"; | |
export function AppLink(props) { | |
return ( | |
<Link | |
{...props} | |
className={cx(styles.AppLink, props.className, styles[props.type])} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from "react"; | |
import cx from "classnames"; | |
import { CopyButton } from "../CopyButton"; | |
import styles from "./CopyInput.less"; | |
export const CopyInput = (props) => { | |
return ( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { useState, useEffect } from "react"; | |
import cx from "classnames"; | |
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; | |
import { faClipboard, faCheck } from "@fortawesome/free-solid-svg-icons"; | |
import { Button } from "../Button"; | |
import styles from "./CopyChip.less"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from "react"; | |
import cx from "classnames"; | |
import omit from "lodash/omit"; | |
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; | |
import { faSearch } from "@fortawesome/free-solid-svg-icons"; | |
import { Input } from "../Input"; | |