interface PrettyJsonProps { data: Object } function PrettyJson({data}: PrettyJsonProps) { return (
{JSON.stringify(data, null, 2)}