in src/components/UiComponentProps/index.tsx [50:81]
function Content({propType, component}) {
if (propType === "attr") {
return (
<p>
<code>{component?.tag}</code>
provides the following properties to configure the component.
</p>
);
} else if (propType === "css") {
return (
<p>
<code>{component?.tag}</code>
provides the following
<ExternalLink href="https://developer.mozilla.org/en-US/docs/Web/CSS/Using_CSS_custom_properties">
css properties
</ExternalLink>
to modify the style at component level.
</p>
);
} else if (propType === "slots") {
return (
<p>
<code>{component?.tag}</code>
provides the following slots based off of the
<ExternalLink href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/slot">
Web Components slot
</ExternalLink>
element.
</p>
);
}
}