mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
27 lines
711 B
Plaintext
27 lines
711 B
Plaintext
---
|
|
import MarkdownCode from '@/components/typography/MarkdownCode.astro';
|
|
import Td from '@/components/typography/Td.astro';
|
|
import DetailRow from './DetailRow.astro';
|
|
|
|
interface Props {
|
|
name: string;
|
|
type: string;
|
|
detailedType?: string;
|
|
description?: string;
|
|
componentName: string;
|
|
}
|
|
|
|
const { name, type, detailedType, description, componentName } = Astro.props;
|
|
|
|
const id = `${componentName}-state-${name}`;
|
|
---
|
|
|
|
<DetailRow id={id} name={name} type={type} detailedType={detailedType} description={description} colspan={3}>
|
|
<Td class="align-top">
|
|
<MarkdownCode>{name}</MarkdownCode>
|
|
</Td>
|
|
<Td class="align-top">
|
|
<MarkdownCode>{type}</MarkdownCode>
|
|
</Td>
|
|
</DetailRow>
|