import * as React from 'react' ; interface NavigationBarProps { left ? : React . ReactElement [ ] ; right ? : React . ReactElement [ ] ; visible : boolean ; } export default function NavigationBar ( props ) { return ( < div className = { `rc-md-navigation ${ props . visible ? 'visible' : 'in-visible' }` } > < div className = "navigation-nav left" > < div className = "button-wrap" > { props . left } < /div> < /div> < div className = "navigation-nav right" > < div className = "button-wrap" > { props . right } < /div> < /div> < /div>); }