Moved files

This commit is contained in:
Patrick Alvin Alcala 2025-08-26 11:54:05 +08:00
parent 1320d58c4a
commit 3cc94b18a6
3 changed files with 2 additions and 2 deletions

View file

@ -8,7 +8,8 @@ interface Props {
}
export default (props: Props) => {
return <>
return
<>
<Show when={props.to}>
<a href={props.to} aria-label={props.label}>
<button class="button">{props.label || 'Click Me!'}</button>
@ -18,6 +19,5 @@ export default (props: Props) => {
<Show when={!props.to}>
<button class="button" onClick={props.onClick}>{props.label || 'Click Me!'}</button>
</Show>
</>
}