react-icons/md#MdBolt TypeScript Examples

The following examples show how to use react-icons/md#MdBolt. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ChangelogItem.tsx    From slice-machine with Apache License 2.0 5 votes vote down vote up
ChangelogItem: React.FunctionComponent<{ currentVersion: string }> = ({
  currentVersion,
}) => (
  <Link href={"/changelog"} passHref>
    <ThemeLink
      variant="links.sidebar"
      sx={{
        display: "flex",
        alignItems: "center",
        justifyContent: "space-between",
        py: 2,
        mt: 3,
      }}
    >
      <Flex
        sx={{
          alignItems: "center",
        }}
      >
        <MdInfo
          style={{
            width: "24px",
            height: "24px",
          }}
        />
        <Text
          sx={{
            ml: 2,
          }}
        >
          Changelog
        </Text>
      </Flex>
      <Flex
        sx={{
          alignItems: "center",
        }}
      >
        <MdBolt />
        <Text
          sx={{
            ml: 1,
          }}
        >
          v{currentVersion}
        </Text>
      </Flex>
    </ThemeLink>
  </Link>
)