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/Paper.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/Paper.stories.tsx')
-rw-r--r-- | packages/taler-wallet-webextension/src/mui/Paper.stories.tsx | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/packages/taler-wallet-webextension/src/mui/Paper.stories.tsx b/packages/taler-wallet-webextension/src/mui/Paper.stories.tsx index bc80bd500..e7030e781 100644 --- a/packages/taler-wallet-webextension/src/mui/Paper.stories.tsx +++ b/packages/taler-wallet-webextension/src/mui/Paper.stories.tsx @@ -19,16 +19,15 @@ * @author Sebastian Javier Marchano (sebasjm) */ +import { h, VNode } from "preact"; import { Paper } from "./Paper.js"; -import { createExample } from "../test-utils.js"; -import { h } from "preact"; export default { title: "mui/paper", component: Paper, }; -export const BasicExample = () => ( +export const BasicExample = (): VNode => ( <div style={{ display: "flex", @@ -54,7 +53,7 @@ export const BasicExample = () => ( </div> ); -export const Outlined = () => ( +export const Outlined = (): VNode => ( <div style={{ display: "flex", @@ -92,7 +91,7 @@ export const Outlined = () => ( </div> ); -export const Elevation = () => ( +export const Elevation = (): VNode => ( <div style={{ display: "flex", @@ -119,7 +118,7 @@ export const Elevation = () => ( </div> ); -export const ElevationDark = () => ( +export const ElevationDark = (): VNode => ( <div class="theme-dark" style={{ |