misc_pterodactyl-panel/resources/scripts/components/admin/api/ApiKeysContainer.tsx

20 lines
717 B
TypeScript
Raw Normal View History

import React from 'react';
import tw from 'twin.macro';
import AdminContentBlock from '@/components/admin/AdminContentBlock';
import NewApiKeyButton from '@/components/admin/api/NewApiKeyButton';
2020-10-04 20:25:58 +00:00
export default () => {
return (
<AdminContentBlock>
<div css={tw`w-full flex flex-row items-center mb-8`}>
<div css={tw`flex flex-col`}>
<h2 css={tw`text-2xl text-neutral-50 font-header font-medium`}>API Keys</h2>
<p css={tw`text-base text-neutral-400`}>Control access credentials for managing this Panel via the API.</p>
</div>
2020-10-04 20:25:58 +00:00
<NewApiKeyButton />
</div>
</AdminContentBlock>
);
};