astro/examples/component/src/MyComponent.astro
Dan Jutan d6adb67ae4
chore: update component template (#4540)
Co-authored-by: Nate Moore <nate@astro.build>
2022-09-07 18:16:54 -04:00

8 lines
149 B
Text

---
// Write your component code in this file!
export interface Props {
prefix?: string
}
---
<div>{Astro.props.prefix} My special component</div>