Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const Table = styled.table`
width: 100%;
margin: 0;
border-collapse: collapse;
`
const TH = styled.td`
text-align: left;
font-size: 14px;
font-weight: bold;
padding-top: 4px;
padding-bottom: 4px;
border-bottom-style: solid;
border-bottom-width: 2px;
border-color: ${theme.colors.gray3}
`
const TD = styled.td`
padding-top: 4px;
padding-bottom: 4px;
border-bottom-style: solid;
border-bottom-width: 1px;
border-color: ${theme.colors.gray3}
`
const PropsTable = () => (
<table>
<thead>
<tr>
<th>Prop</th>
<th>Alias</th>
<th>Type</th></tr></thead></table>
const TH = styled.td`
text-align: left;
font-size: 14px;
font-weight: bold;
padding-top: 4px;
padding-bottom: 4px;
border-bottom-style: solid;
border-bottom-width: 2px;
border-color: ${theme.colors.gray3}
`
const TD = styled.td`
padding-top: 4px;
padding-bottom: 4px;
border-bottom-style: solid;
border-bottom-width: 1px;
border-color: ${theme.colors.gray3}
`
const PropsTable = () => (
{defs.map(def => (
<table>
<thead>
<tr>
<th>Prop</th>
<th>Alias</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody><tr>
<td></td></tr></tbody></table>