diff options
author | Sebastian <sebasjm@gmail.com> | 2022-03-29 09:58:06 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2022-03-29 10:04:33 -0300 |
commit | 3dd1047b085fa7795f322c5829f39208465bff13 (patch) | |
tree | 19340ca9420466e7059849dbf7013901733c0fde /packages/taler-wallet-webextension/src/mui/Button.stories.tsx | |
parent | cb18b9813e5df6e315dfb1827f5f7cf304977390 (diff) | |
download | wallet-core-3dd1047b085fa7795f322c5829f39208465bff13.tar.xz |
added react eslint and fix most of the warns
Diffstat (limited to 'packages/taler-wallet-webextension/src/mui/Button.stories.tsx')
-rw-r--r-- | packages/taler-wallet-webextension/src/mui/Button.stories.tsx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/taler-wallet-webextension/src/mui/Button.stories.tsx b/packages/taler-wallet-webextension/src/mui/Button.stories.tsx index 145e1a159..4d3832ed4 100644 --- a/packages/taler-wallet-webextension/src/mui/Button.stories.tsx +++ b/packages/taler-wallet-webextension/src/mui/Button.stories.tsx @@ -20,7 +20,7 @@ */ import { Button } from "./Button.js"; -import { Fragment, h } from "preact"; +import { Fragment, h, VNode } from "preact"; import DeleteIcon from "../svg/delete_24px.svg"; import SendIcon from "../svg/send_24px.svg"; import { styled } from "@linaria/react"; @@ -35,7 +35,7 @@ const Stack = styled.div` flex-direction: column; `; -export const BasicExample = () => ( +export const BasicExample = (): VNode => ( <Fragment> <Stack> <Button size="small" variant="text"> @@ -67,7 +67,7 @@ export const BasicExample = () => ( </Fragment> ); -export const Others = () => ( +export const Others = (): VNode => ( <Fragment> <p>colors</p> <Stack> @@ -94,7 +94,7 @@ export const Others = () => ( </Fragment> ); -export const WithIcons = () => ( +export const WithIcons = (): VNode => ( <Fragment> <Stack> <Button variant="outlined" size="small" startIcon={DeleteIcon}> |