hiCity-nft/src/views/Nft/component/FlexText.tsx

20 lines
646 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import React, { useState } from 'react'
import styled from 'styled-components'
// import SearchInput from 'components/SearchInput'
import SwiperCore, { Keyboard, Mousewheel, Pagination } from 'swiper'
import { Swiper, SwiperSlide } from 'swiper/react'
import { Card, Button, Text, Flex, Image } from '@pancakeswap/uikit'
export default function FlexText({ name, value }) {
return (
<Flex justifyContent="flex-end" alignItems="center" marginTop="12px" padding="0 21px">
<Text color="#6B6472" fontSize="14px">
{name}
</Text>
<Text color="#1FC7D4" fontSize="14px">
{value}
</Text>
</Flex>
)
}