Files
js/tw-components/table-container.tsx
T
Tair AsimandJonas Daniels a9fd20d6f7 polish: api keys + tables (#1267)
* polish: api keys + tables

- style tables and extract into table container
- refactor api keys to sub components
- show api key name and created at
- remove two step approach to creating keys
- define menu list/item styles on theme level

completes FTD-1752

* add missing ChainId import

* fix types

* add edit edit modal

* add update key func

* make work with local api server

---------

Co-authored-by: Jonas Daniels <[email protected]>
2023-06-05 17:26:21 +00:00

19 lines
377 B
TypeScript

import {
TableContainer as CTableContainer,
TableContainerProps,
} from "@chakra-ui/react";
export const TableContainer: React.FC<TableContainerProps> = ({ children }) => {
return (
<CTableContainer
p={0}
overflowX="auto"
borderRadius="lg"
borderWidth={1}
borderColor="borderColor"
>
{children}
</CTableContainer>
);
};