import { css } from '@emotion/react'; import { spacing } from '@expo/styleguide-base'; import type { PropsWithChildren } from 'react'; import { CreateAppButton } from './CreateAppButton'; import { Icon } from './Icon'; import { APIBox } from '~/components/plugins/APIBox'; import { tableWrapperStyle } from '~/ui/components/Table/Table'; import { H3 } from '~/ui/components/Text'; type BoxProps = PropsWithChildren<{ name: string; image: string; createUrl?: string; }>; export const Box = ({ name, image, createUrl, children }: BoxProps) => (

{name}

{createUrl && }
{children}
); const boxStyle = css({ [`.css-${tableWrapperStyle.name}`]: { marginBottom: spacing[4], }, });