import React from 'react';
import { ReactNode } from 'react';
import { Box } from './Box';
import { Card } from './Card';
import { Text } from './Text';
export interface ListItemProps {
children: ReactNode;
onClick?: () => void;
}
export const ListItem = ({ children, onClick }: ListItemProps) => {
return (
{children}
);
};
export interface ListItemInfoProps {
title: string;
description?: string;
meta?: ReactNode;
}
export const ListItemInfo = ({ title, description, meta }: ListItemInfoProps) => (
{title}
{description && (
{description}
)}
{meta && {meta}}
);
export interface ListItemActionsProps {
children: ReactNode;
}
export const ListItemActions = ({ children }: ListItemActionsProps) => (
{children}
);