push
github
200 of 269 branches covered (0.0%)
Branch coverage included in aggregate %.
291 of 373 new or added lines in 15 files covered. (78.02%)
1 existing line in 1 file now uncovered.7032 of 8291 relevant lines covered (84.81%)
3.86 hits per line
|
import { LiveMarket, Tab } from '@deriv-com/components'; |
2✔ |
|
import { ComponentProps } from 'react'; |
2✔ |
|
|
2✔ |
|
export type LiveMarketTabType = ComponentProps<typeof LiveMarket.Container> &
|
2✔ |
|
ComponentProps<typeof Tab.Base>; |
2✔ |
|
|
2✔ |
|
export const LiveMarketTab = ({ |
2✔ |
NEW
|
header, |
× |
NEW
|
description, |
× |
NEW
|
disclaimer, |
× |
NEW
|
link, |
× |
NEW
|
tabs, |
× |
NEW
|
children, |
× |
NEW
|
className, |
× |
NEW
|
}: LiveMarketTabType) => { |
× |
NEW
|
return (
|
× |
NEW
|
<LiveMarket.Container |
× |
NEW
|
header={header} |
× |
NEW
|
description={description} |
× |
NEW
|
disclaimer={disclaimer} |
× |
NEW
|
link={link} |
× |
NEW
|
className={className} |
× |
NEW
|
> |
× |
NEW
|
<Tab.Base tabs={tabs} className="flex flex-col gap-gap-2xl">
|
× |
NEW
|
{children} |
× |
NEW
|
</Tab.Base> |
× |
NEW
|
</LiveMarket.Container> |
× |
NEW
|
); |
× |
NEW
|
}; |
× |
|
|
2✔ |
|
export default LiveMarketTab; |
2✔ |