diff --git a/src/_EXAMPLES FOR DEVELOPERS/components-screens/example/example.container.js b/src/_EXAMPLES FOR DEVELOPERS/components-screens/example/example.container.js new file mode 100644 index 000000000..e86002516 --- /dev/null +++ b/src/_EXAMPLES FOR DEVELOPERS/components-screens/example/example.container.js @@ -0,0 +1,49 @@ +import React, { Component } from "react"; +import { connect } from "react-redux"; + +// Services and Actions + +// Middleware + +// Constants + +// Utilities + +// Component +import { ExampleView } from "../"; + +/* +* Props Name Description Value +*@props --> props name here description here Value Type Here +* +*/ + +class ExampleContainer extends Component { + constructor(props) { + super(props); + this.state = {}; + } + + // Component Life Cycle Functions + + // Component Functions + + render() { + const {} = this.props; + + return ; + } +} + +const mapStateToProps = state => ({ + user: state.user.user, +}); + +const mapDispatchToProps = (dispatch, ownProps) => ({ + // onClick: () => dispatch(setVisibilityFilter(ownProps.filter)) +}); + +export default connect( + mapStateToProps, + mapDispatchToProps +)(ExampleContainer); diff --git a/src/_EXAMPLES FOR DEVELOPERS/components-screens/example/example.view.js b/src/_EXAMPLES FOR DEVELOPERS/components-screens/example/example.view.js new file mode 100644 index 000000000..cba427e12 --- /dev/null +++ b/src/_EXAMPLES FOR DEVELOPERS/components-screens/example/example.view.js @@ -0,0 +1,37 @@ +import React, { Component } from "react"; +import {} from "react-native"; + +// Constants + +// Components + +// Styles +// eslint-disable-next-line +import styles from "./_styles"; + +/* +* Props Name Description Value +*@props --> props name here description here Value Type Here +* +*/ + +class ExampleView extends Component { + constructor(props) { + super(props); + this.state = {}; + } + + // Component Life Cycles + + // Component Functions + + render() { + // eslint-disable-next-line + const {} = this.props; + + // eslint-disable-next-line + return ; + } +} + +export default ExampleView; diff --git a/src/_EXAMPLES FOR DEVELOPERS/components-screens/example/index.js b/src/_EXAMPLES FOR DEVELOPERS/components-screens/example/index.js new file mode 100644 index 000000000..35b7a581e --- /dev/null +++ b/src/_EXAMPLES FOR DEVELOPERS/components-screens/example/index.js @@ -0,0 +1,5 @@ +import ExampleView from "./exampleView"; +import ExampleContainer from "./exampleContainer"; + +export { ExampleView, ExampleContainer }; +export default ExampleContainer; diff --git a/src/_EXAMPLES FOR DEVELOPERS/components-screens/index.js b/src/_EXAMPLES FOR DEVELOPERS/components-screens/index.js new file mode 100644 index 000000000..4483c09d6 --- /dev/null +++ b/src/_EXAMPLES FOR DEVELOPERS/components-screens/index.js @@ -0,0 +1,3 @@ +import Exmaple from "./example/example.container"; + +export { Exmaple }; diff --git a/src/_EXAMPLES FOR DEVELOPERS/styles/example.styles.js b/src/_EXAMPLES FOR DEVELOPERS/styles/example.styles.js new file mode 100644 index 000000000..e69de29bb