import * as React from "react";
import * as System from "~/components/system";
import * as SVG from "~/components/system/svg";
import * as OldSVG from "~/common/svg";
import * as Constants from "~/common/constants";
import { css } from "@emotion/react";
import SystemPage from "~/components/system/SystemPage";
import ViewSourceLink from "~/components/system/ViewSourceLink";
import CodeBlock from "~/components/system/CodeBlock";
const DEFAULT_SYSTEM_ICON_SIZE = "88px";
const ICONS = [
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
];
const STYLES_ICON = css`
padding: 24px;
color: ${Constants.system.pitchBlack};
display: inline-flex;
transition: 200ms ease color;
text-align: center;
:hover {
color: ${Constants.system.brand};
}
`;
export default class SystemPageIcons extends React.Component {
render() {
return (
Icons
Every icon used in the Filecoin Client.
Imports
Import the SVG Components.
{`import { SVG } from 'slate-react-system';
import { OldSVG } from 'slate-react-system';`}
Usage
Declare the SVG icons.
{`
`}
Output
{ICONS.map((icon, i) => {
return (
{icon}
);
})}
);
}
}