diff options
author | 2022-09-07 18:16:54 -0400 | |
---|---|---|
committer | 2022-09-07 18:16:54 -0400 | |
commit | d6adb67ae4909d790aa44e1d52cfea3e8ad7663f (patch) | |
tree | 3b7dc0bd69da90ed290490ec5629898941e19a92 /examples/component/src | |
parent | f165353e7abe9472a6096324154a4801fac46c66 (diff) | |
download | astro-d6adb67ae4909d790aa44e1d52cfea3e8ad7663f.tar.gz astro-d6adb67ae4909d790aa44e1d52cfea3e8ad7663f.tar.zst astro-d6adb67ae4909d790aa44e1d52cfea3e8ad7663f.zip |
chore: update component template (#4540)
Co-authored-by: Nate Moore <nate@astro.build>
Diffstat (limited to 'examples/component/src')
-rw-r--r-- | examples/component/src/MyComponent.astro | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/component/src/MyComponent.astro b/examples/component/src/MyComponent.astro new file mode 100644 index 000000000..96f9ecdda --- /dev/null +++ b/examples/component/src/MyComponent.astro @@ -0,0 +1,8 @@ +--- +// Write your component code in this file! +export interface Props { + prefix?: string +} +--- + +<div>{Astro.props.prefix} My special component</div> |