import { css } from '@emotion/react'; import { theme, borderRadius, typography, spacing } from '@expo/styleguide'; import React, { PropsWithChildren } from 'react'; import { TableHeaders } from './TableHeaders'; import { TableLayout, TextAlign } from './types'; type TableProps = PropsWithChildren<{ headers?: string[]; headersAlign?: TextAlign[]; layout?: TableLayout; }>; export const Table = ({ children, headers = [], headersAlign, layout = TableLayout.Auto, }: TableProps) => (