vega-frontend-monorepo/apps/trading/pages/index.page.tsx

27 lines
666 B
TypeScript
Raw Normal View History

import { Callout, Button } from '@vegaprotocol/ui-toolkit';
2022-02-24 00:10:31 +00:00
import { useVegaWallet } from '@vegaprotocol/react-helpers';
2022-02-23 17:57:44 +00:00
export function Index() {
2022-03-10 00:39:59 +00:00
const { keypair, keypairs, selectPublicKey, sendTx } = useVegaWallet();
return (
2022-03-10 00:33:56 +00:00
<div className="m-24">
<Callout
intent="help"
title="This is what this thing does"
iconName="endorsed"
headingLevel={1}
>
<div className="flex flex-col">
<div>With a longer explaination</div>
<Button className="block mt-8" variant="secondary">
Action
</Button>
</div>
</Callout>
</div>
);
}
2022-02-23 17:57:44 +00:00
export default Index;