Skip to content

Commit

Permalink
fix(core): fixed channel information component
Browse files Browse the repository at this point in the history
  • Loading branch information
boyney123 committed Nov 13, 2024
1 parent 84790e7 commit a07bc16
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/MDX/ChannelInformation/ChannelInformation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,18 +54,18 @@ const ChannelParameters = (data: CollectionEntry<'channels'>['data']) => {
<thead>
<tr className="bg-purple-500 text-white">
<th className="py-2 px-4 border-b text-left">Parameter</th>
<th className="py-2 px-4 border-b text-left">Options</th>
<th className="py-2 px-4 border-b text-left">Description</th>
<th className="py-2 px-4 border-b text-left">Options</th>
<th className="py-2 px-4 border-b text-left">Default</th>
</tr>
</thead>
<tbody>
{Object.entries(data.parameters).map(([param, details]) => (
<tr className="hover:bg-gray-50" key={param}>
<td className="py-2 px-4 border-b">{param}</td>
<td className="py-2 px-4 border-b">{details.default || 'N/A'}</td>
<td className="py-2 px-4 border-b">{details.enum ? details.enum.join(', ') : 'N/A'}</td>
<td className="py-2 px-4 border-b">{details.description}</td>
<td className="py-2 px-4 border-b">{details.enum ? details.enum.join(', ') : 'N/A'}</td>
<td className="py-2 px-4 border-b">{details.default || 'N/A'}</td>
</tr>
))}
</tbody>
Expand Down

0 comments on commit a07bc16

Please sign in to comment.