@radix-ui/themes
Version:
[](https://radix-ui.com/themes)
16 lines (13 loc) • 353 B
text/typescript
import type { PropDef } from './prop-def.js';
const asChildPropDef = {
/**
* Composes the component into its immediate child instead of rendering its own HTML element.
* You’ll have to provide a single React Element child.
*/
asChild: {
type: 'boolean',
},
} satisfies {
asChild: PropDef<boolean>;
};
export { asChildPropDef };