Skip to content

Conversation

romainpi
Copy link
Contributor

The Note component was fully static.

I've added title?, description? and icon? properties.

I've NOT added a definition for Props to src/types.d.ts as is usually the case with the components in src/components/widgets/: I found two components that didn't: src/components/widgets/HeroText.astro and src/components/widgets/Stats.astro; with this PR the Note component will be in the same state as those component.

In any case this PR successfully allows the use of attributes for the Note component.

@romainpi
Copy link
Contributor Author

#544 Also contains code that turns Note into a component with properties.

@prototypa prototypa merged commit 20841e2 into arthelokyo:main Apr 17, 2025
3 of 4 checks passed
@romainpi romainpi deleted the note-component branch September 29, 2025 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants