initial commit
This commit is contained in:
9
src/components/Button.tsx
Normal file
9
src/components/Button.tsx
Normal file
@@ -0,0 +1,9 @@
|
||||
import type { ParentComponent } from "solid-js";
|
||||
|
||||
export const Button: ParentComponent<{ onClick?: () => void }> = (props) => {
|
||||
return (
|
||||
<button class="button" type="button" onClick={props.onClick}>
|
||||
{props.children}
|
||||
</button>
|
||||
);
|
||||
};
|
||||
Reference in New Issue
Block a user