mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
feat(site): add util reference pipeline (#537)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
c11395ece1
commit
78112fbefd
@@ -6,22 +6,21 @@ import DetailRow from './DetailRow.astro';
|
||||
interface Props {
|
||||
name: string;
|
||||
type: string;
|
||||
shortType?: string;
|
||||
detailedType?: string;
|
||||
description?: string;
|
||||
componentName: string;
|
||||
}
|
||||
|
||||
const { name, type, shortType, description, componentName } = Astro.props;
|
||||
const { name, type, detailedType, description, componentName } = Astro.props;
|
||||
|
||||
const displayType = shortType ?? type;
|
||||
const id = `${componentName}-state-${name}`;
|
||||
---
|
||||
|
||||
<DetailRow id={id} name={name} type={type} shortType={shortType} description={description} colspan={3}>
|
||||
<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>{displayType}</MarkdownCode>
|
||||
<MarkdownCode>{type}</MarkdownCode>
|
||||
</Td>
|
||||
</DetailRow>
|
||||
|
||||
Reference in New Issue
Block a user