import React from "react"; import styled from "styled-components"; import Flex from "~/components/Flex"; const Label = ({ icon, value }: { icon: React.ReactNode; value: string }) => ( {icon} {value} ); const IconWrapper = styled.span` display: flex; justify-content: center; align-items: center; height: 24px; width: 24px; overflow: hidden; flex-shrink: 0; `; export default Label;