17 lines
355 B
TypeScript
17 lines
355 B
TypeScript
import * as React from "bloatless-react";
|
|
|
|
export function HomePageButton(
|
|
action: () => void,
|
|
label: string,
|
|
icon: string,
|
|
) {
|
|
return (
|
|
<button class="tile flex-no" on:click={action}>
|
|
<span class="icon">{icon}</span>
|
|
<div>
|
|
<span>{label}</span>
|
|
</div>
|
|
</button>
|
|
);
|
|
}
|