Skip to content

Commit

Permalink
Merge pull request #309 from Gauravtb2253/custom-card-issue
Browse files Browse the repository at this point in the history
Text color issue fixed
  • Loading branch information
Jaishree2310 authored Oct 22, 2024
2 parents 4e6fb03 + 1fa8e5e commit d7c671f
Showing 1 changed file with 16 additions and 18 deletions.
34 changes: 16 additions & 18 deletions src/components/CardDetailsPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -228,32 +228,30 @@ function Example() {
<table className='w-full'>
<thead>
<tr className='bg-white bg-opacity-20'>
<th className='text-left p-2 text-gray-100'>Prop</th>
<th className='text-left p-2 text-gray-100'>Type</th>
<th className='text-left p-2 text-gray-100'>Default</th>
<th className='text-left p-2 text-gray-100'>Description</th>
<th className='text-left p-2'>Prop</th>
<th className='text-left p-2'>Type</th>
<th className='text-left p-2'>Default</th>
<th className='text-left p-2'>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td className='p-2 text-gray-200'>className</td>
<td className='p-2 text-gray-200'>string</td>
<td className='p-2 text-gray-200'>''</td>
<td className='p-2 text-gray-200'>Additional CSS classes</td>
<td className='p-2'>className</td>
<td className='p-2'>string</td>
<td className='p-2'>''</td>
<td className='p-2'>Additional CSS classes</td>
</tr>
<tr className='bg-white bg-opacity-10'>
<td className='p-2 text-gray-200'>style</td>
<td className='p-2 text-gray-200'>object</td>
<td className='p-2 text-gray-200'>{'{}'}</td>
<td className='p-2 text-gray-200'>
Inline styles for the card
</td>
<td className='p-2'>style</td>
<td className='p-2'>object</td>
<td className='p-2'>{'{}'}</td>
<td className='p-2'>Inline styles for the card</td>
</tr>
<tr>
<td className='p-2 text-gray-200'>children</td>
<td className='p-2 text-gray-200'>ReactNode</td>
<td className='p-2 text-gray-200'>-</td>
<td className='p-2 text-gray-200'>Card content</td>
<td className='p-2'>children</td>
<td className='p-2'>ReactNode</td>
<td className='p-2'>-</td>
<td className='p-2'>Card content</td>
</tr>
</tbody>
</table>
Expand Down

0 comments on commit d7c671f

Please sign in to comment.