diff --git a/src/containers/Drawer/index.jsx b/src/containers/Drawer/index.jsx index 8a01cbb..8e772b9 100644 --- a/src/containers/Drawer/index.jsx +++ b/src/containers/Drawer/index.jsx @@ -17,7 +17,6 @@ import Toolbar from "@material-ui/core/Toolbar"; import Typography from "@material-ui/core/Typography"; import { Button, Container } from "@material-ui/core"; import { makeStyles, useTheme } from "@material-ui/core/styles"; - import Navigation from "../Navigation"; import { Link } from "react-router-dom"; import { Components_Index } from "../Navigation"; @@ -131,20 +130,36 @@ function ResponsiveDrawer(props) { - + - + React Native Elements -
+ +
{ }, rightIcon: { type: PropTypes.ReactNode, - value: ``, + value: `{setValue("")}}/>`, }, rightIconContainerStyle: { type: PropTypes.Object, @@ -88,6 +88,17 @@ const InputPlayground = () => { type: PropTypes.String, value: "Enter Name", }, + value: { + type: PropTypes.String, + value: "", + stateful: true, + hidden: true, + }, + onChange: { + type: PropTypes.Function, + value: `(e)=>{setValue(e.target.value)}`, + hidden: true, + }, }, scope: { Input, diff --git a/src/index.css b/src/index.css index 4a1df4d..21b7656 100644 --- a/src/index.css +++ b/src/index.css @@ -1,6 +1,6 @@ body { margin: 0; - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", + font-family: "Palatino",-apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; -webkit-font-smoothing: antialiased; diff --git a/src/pages/home/index.jsx b/src/pages/home/index.jsx index 63b0c54..8573838 100644 --- a/src/pages/home/index.jsx +++ b/src/pages/home/index.jsx @@ -10,16 +10,18 @@ function HomePage() { - Exploring possibilities + Exploring + Possibilities with React Native Elements @@ -32,17 +34,12 @@ function HomePage() {
-
- + {FEATURES_LIST.map((feature, idx) => { return ( @@ -60,21 +57,38 @@ function HomePage() { style={{ justifyContent: "space-evenly" }} > - Why? - + + Why? + + React Native Elements houses a lot of components, and these components come with a lot of customisation and tweaks via props. Sometimes the user gets confused and wastes a lot of time in achieving the desired result.
We came across a lot of such questions every day and sometimes user - reports bugs which aren't bugs but just improper + reports bugs which aren't bugs but just improper implementation/usage of the components. +
- How it solves the problem? - + How it solves the problem? + With Playground, users can explore components and tweak them as per their use-case and generate production-ready code. Or they can explore new possibilities with the components and improve the