Skip to content

Commit

Permalink
chore: wip
Browse files Browse the repository at this point in the history
  • Loading branch information
elylucas committed Jul 2, 2024
1 parent 8110373 commit a5e56c5
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions packages/test-apps/react-vite/src/components/KitchenSink.tsx
Original file line number Diff line number Diff line change
@@ -1,27 +1,29 @@
import React from 'react';
import { UnresolvedLink } from 'contentful';

interface CustomJsonObjectProps {
interface KitchenSinkProps {
jsonObject?: object;
booleanValue?: boolean;
listText?: string[];
entryReference?: UnresolvedLink<'Entry'>;
imageReference?: UnresolvedLink<'Entry'>;
imageReference?: UnresolvedLink<'Asset'>;
imageListReference?: UnresolvedLink<'Asset'>[];
listReference?: UnresolvedLink<'Entry'>[];
text?: string;
}

const KitchenSink: React.FC<CustomJsonObjectProps> = ({
const KitchenSink: React.FC<KitchenSinkProps> = ({
booleanValue,
entryReference,
imageReference,
jsonObject,
listText,
listReference,
text,
...props
}) => {
return (
<div>
<div {...props}>
<h1>Kitchen Sink</h1>

{text && (
Expand Down

0 comments on commit a5e56c5

Please sign in to comment.