create separate component for home page buttons
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import * as React from "bloatless-react";
|
||||
|
||||
export function HomePageButton(action: () => void, label: string) {
|
||||
return (
|
||||
<button class="tile flex-no" on:click={action}>
|
||||
<span class="icon">sync_alt</span>
|
||||
<div>
|
||||
<span>{label}</span>
|
||||
</div>
|
||||
</button>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user