React Slick Style Break When Integrate WIth AntD Tabs
- Lingua principale
- JavaScript
- Stelle
- 11.9k
- Fork
- 2.1k
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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)
)}%)`}
)}
)
})}
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.