Moved files
This commit is contained in:
parent
1320d58c4a
commit
3cc94b18a6
3 changed files with 2 additions and 2 deletions
0
src/builtin-components/Background/Background.test.ts
Normal file
0
src/builtin-components/Background/Background.test.ts
Normal file
0
src/builtin-components/Button/Button.test.ts
Normal file
0
src/builtin-components/Button/Button.test.ts
Normal 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>
|
||||
|
||||
</>
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue