From f470636a70943a8ecad8bddc791a1c2dddd28e1e Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Sat, 4 May 2019 21:13:12 +0300 Subject: Components -> UI --- vnext/src/ui/NavigationIcon.js | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 vnext/src/ui/NavigationIcon.js (limited to 'vnext/src/ui/NavigationIcon.js') diff --git a/vnext/src/ui/NavigationIcon.js b/vnext/src/ui/NavigationIcon.js new file mode 100644 index 00000000..0a22ac57 --- /dev/null +++ b/vnext/src/ui/NavigationIcon.js @@ -0,0 +1,21 @@ +import React from 'react'; +import PropTypes from 'prop-types'; + +import Icon from './Icon'; + +import './NavigationIcon.css'; + +function NavigationIcon(props) { + return ( +
+ ); +} + +export default React.memo(NavigationIcon); + +NavigationIcon.propTypes = { + onToggle: PropTypes.func.isRequired +}; + -- cgit v1.2.3