diff --git a/beta/src/components/Icon/IconDownload.tsx b/beta/src/components/Icon/IconDownload.tsx new file mode 100644 index 000000000..fde28c7f9 --- /dev/null +++ b/beta/src/components/Icon/IconDownload.tsx @@ -0,0 +1,30 @@ +/* + * Copyright (c) Facebook, Inc. and its affiliates. + */ + +import * as React from 'react'; + +export const IconDownload = React.memo( + function IconArrowSmall({className}) { + return ( + + + + + ); + } +); + +IconDownload.displayName = 'IconDownload'; diff --git a/beta/src/components/Icon/IconNewPage.tsx b/beta/src/components/Icon/IconNewPage.tsx index d13b5069f..22888b60a 100644 --- a/beta/src/components/Icon/IconNewPage.tsx +++ b/beta/src/components/Icon/IconNewPage.tsx @@ -8,13 +8,18 @@ export const IconNewPage = React.memo( function IconNewPage(props) { return ( + diff --git a/beta/src/components/Icon/IconRestart.tsx b/beta/src/components/Icon/IconRestart.tsx index 2e52fe6c2..021a40bbf 100644 --- a/beta/src/components/Icon/IconRestart.tsx +++ b/beta/src/components/Icon/IconRestart.tsx @@ -8,13 +8,14 @@ export const IconRestart = React.memo( function IconRestart({className}) { return ( + width="1em" + height="1em" + viewBox="0 0 24 24" + fill="none" + xmlns="http://www.w3.org/2000/svg" + className={className}> diff --git a/beta/src/components/MDX/Sandpack/DownloadButton.tsx b/beta/src/components/MDX/Sandpack/DownloadButton.tsx index 137bcee15..19434bcec 100644 --- a/beta/src/components/MDX/Sandpack/DownloadButton.tsx +++ b/beta/src/components/MDX/Sandpack/DownloadButton.tsx @@ -4,7 +4,7 @@ import * as React from 'react'; import {useSandpack} from '@codesandbox/sandpack-react'; -import {IconArrowSmall} from '../../Icon/IconArrowSmall'; +import {IconDownload} from '../../Icon/IconDownload'; export interface DownloadButtonProps {} let supportsImportMap: boolean | void; @@ -92,11 +92,7 @@ ${css} onClick={downloadHTML} title="Download Sandbox" type="button"> - {' '} - Download + Download ); }; diff --git a/beta/src/components/MDX/Sandpack/OpenInCodeSandboxButton.tsx b/beta/src/components/MDX/Sandpack/OpenInCodeSandboxButton.tsx index 2a06123a3..3db3843da 100644 --- a/beta/src/components/MDX/Sandpack/OpenInCodeSandboxButton.tsx +++ b/beta/src/components/MDX/Sandpack/OpenInCodeSandboxButton.tsx @@ -9,12 +9,12 @@ import {IconNewPage} from '../../Icon/IconNewPage'; export const OpenInCodeSandboxButton = () => { return ( Fork diff --git a/beta/src/components/MDX/Sandpack/ResetButton.tsx b/beta/src/components/MDX/Sandpack/ResetButton.tsx index ba0124b73..db7c51562 100644 --- a/beta/src/components/MDX/Sandpack/ResetButton.tsx +++ b/beta/src/components/MDX/Sandpack/ResetButton.tsx @@ -15,7 +15,7 @@ export const ResetButton: React.FC = ({onReset}) => { onClick={onReset} title="Reset Sandbox" type="button"> - Reset + Reset ); };