akiran / akiran/react-slick

React Slick Style Break When Integrate WIth AntD Tabs

Đang mở
#2,230 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
11.9k
Fork
2.1k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

https://user-images.githubusercontent.com/55534481/229743010-e021464a-ba9e-4c72-a1c9-530c9f1b5afc.mov

React Slick + Tabs Ant Design

> ,
,
,
]}
tabBarGutter={0}
/>

>
{Object.keys(items).map((key, i) => {
const item = items[key as string]
const symbol = key.split('.')[0]

const priceType = () => {
if (item.changeValue > 0) return 'success'
else if (item.changeValue < 0) return 'danger'

return 'secondary'
}
return (


{isLoading && }
{!isLoading && (
<>




{symbol}

{mappedName[key]}


{thousandSeparator(Number(item.lastPrice) || 0)}


{`${thousandSeparator(
Number(item.changeValue) || 0
)} (${thousandSeparator(
roundDecimal(item.changePercentage || 0, 100)
)}%)`}



)}

)
})}

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.