E
x
p
l
o
r
e
T
w
e
e
t
s
Installation
Installation React Server Component (Next.js 13+):
Copy and paste the following code into your project.
components/eldoraui/tweetgrid.tsx
Update the import paths to match your project setup.
Props
TweetGrid
Component Props
Prop Name | Type | Default | Description |
---|---|---|---|
tweets | string[] | - | An array of tweet IDs (as strings) to display in the grid. |
columns | 1|2|3|4|5 | 3 | The number of columns in the grid. For values: 1 , 2 , 3 , 4 , or 5 . |
spacing | sm|md|lg | md | The spacing between tweet items. For values: sm , md , or lg . |
className | string | undefined | An optional custom className for further styling of the grid container. |