Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"react-native-web-linear-gradient": "^1.1.1",
"react-router-dom": "^5.2.0",
"react-scripts": "3.4.1",
"react-view": "^2.3.2"
"react-view": "^2.3.7"
},
"scripts": {
"start": "react-app-rewired start",
Expand Down
10 changes: 1 addition & 9 deletions src/components/Footer/index.jsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
import React from "react";
import { Link } from "react-router-dom";
import {
Paper,
Grid,
ListItem,
Typography,
Button,
Divider,
} from "@material-ui/core";
import { Grid, Typography, Divider } from "@material-ui/core";
import pjson from "../../../package.json";
import styles from "./Footer.module.css";

Expand Down
3 changes: 0 additions & 3 deletions src/components/PropDrawer/index.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
import React from "react";
import clsx from "clsx";
import { makeStyles } from "@material-ui/core/styles";

import { Drawer, Fab } from "@material-ui/core";

export default function TemporaryDrawer(props) {
Expand Down
2 changes: 1 addition & 1 deletion src/components/playground/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ export default ({ params }) => {
placeholder={Placeholder}
/>
</div>
<Error msg={params.errorProps.msg} isPopup />
<Knobs {...params.knobProps} />
<Error msg={params.errorProps.msg} />
<Editor {...params.editorProps} />
<Error {...params.errorProps} />
<ActionButtons {...params.actions} />
Expand Down
8 changes: 1 addition & 7 deletions src/containers/Navigation/index.jsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
import React from "react";

import {
BrowserRouter as Router,
Switch,
Route,
Link,
Redirect,
} from "react-router-dom";
import { Switch, Route } from "react-router-dom";
import { Helmet } from "react-helmet";

import Footer from "../../components/Footer";
Expand Down
2 changes: 0 additions & 2 deletions src/content/BottomSheet/bottomsheet.playground.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
import * as React from "react";
import { useState } from "react";
import { View } from "react-native";
import { BottomSheet, Text } from "react-native-elements";

import Playground from "../../components/playground";
Expand Down
2 changes: 0 additions & 2 deletions src/content/Icon/icon.playground.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
import * as React from "react";
import { useState } from "react";
import { View } from "react-native";
import { Icon } from "react-native-elements";

import Playground from "../../components/playground";
Expand Down
2 changes: 0 additions & 2 deletions src/content/Input/input.playground.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
import * as React from "react";
import { useState } from "react";
import { View } from "react-native";
import { Input } from "react-native-elements";
import Icon from "react-native-vector-icons/dist/MaterialCommunityIcons";
import Playground from "../../components/playground";
Expand Down
5 changes: 5 additions & 0 deletions src/content/ListItem/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ export default function ListItemPlayground() {
return (
<div>
<Playground />
<Suspense fallback={<div>Loading...</div>}>
<PropDrawer>
<Content />
</PropDrawer>
</Suspense>
</div>
);
}
3 changes: 0 additions & 3 deletions src/content/Rating/searchbar.playground.jsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
import * as React from "react";
import { useState } from "react";
import { View } from "react-native";
import { Rating } from "react-native-elements";
import Playground from "../../components/playground";
import { useView, PropTypes } from "react-view";
import SocialIconPlayground from ".";

const RatingPlayground = () => {
const params = useView({
Expand Down