This commit is contained in:
Patrick Alvin Alcala 2026-01-30 14:45:20 +08:00
parent 8e724b166a
commit b5e92165c8
33 changed files with 82 additions and 223 deletions

View file

@ -40,7 +40,7 @@ export default (props: Props) => {
</Match>
<Match when={!props.design}>
<a href={props.to} aria-label={props.label} rel="noopener" target={props.newtab ? '_blank' : '_self'} data-astro-prefetch>
<button class="button" style={borderRadius}>
<button class="dasig-button" style={borderRadius}>
{props.label || 'Click Me!'}
</button>
</a>
@ -65,13 +65,13 @@ export default (props: Props) => {
</Match>
<Match when={!props.design}>
<Show when={props.submit}>
<button class="button" type="submit" style={borderRadius}>
<button class="dasig-button" type="submit" style={borderRadius}>
{props.label || 'Click Me!'}
</button>
</Show>
<Show when={!props.submit}>
<button class="button" onClick={props.onClick} style={borderRadius}>
<button class="dasig-button" onClick={props.onClick} style={borderRadius}>
{props.label || 'Click Me!'}
</button>
</Show>