mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
23 lines
492 B
TypeScript
23 lines
492 B
TypeScript
import React from 'react';
|
|
|
|
import type { MarketplaceApp } from 'types/client/marketplace';
|
|
|
|
import InfoButton from 'ui/shared/InfoButton';
|
|
|
|
import Content from './MarketplaceAppInfo/Content';
|
|
|
|
interface Props {
|
|
data: MarketplaceApp | undefined;
|
|
isLoading?: boolean;
|
|
}
|
|
|
|
const MarketplaceAppInfo = ({ data, isLoading }: Props) => {
|
|
return (
|
|
<InfoButton isLoading={ isLoading }>
|
|
<Content data={ data }/>
|
|
</InfoButton>
|
|
);
|
|
};
|
|
|
|
export default React.memo(MarketplaceAppInfo);
|