import React, { Component } from 'react'; import { Tabs, Toolbar, Button, Divider } from '@redux-devtools/ui'; import { connect, ResolveThunks } from 'react-redux'; import { GoBook } from 'react-icons/go'; import { IoMdText } from 'react-icons/io'; import { TiSocialTwitter } from 'react-icons/ti'; import { TiHeartFullOutline } from 'react-icons/ti'; import { changeSection } from '../actions'; const tabs = [{ name: 'Actions' }, { name: 'Settings' }]; type DispatchProps = ResolveThunks; interface OwnProps { readonly section: string; } type Props = DispatchProps & OwnProps; class Header extends Component { openLink = (url: string) => () => { window.open(url); }; render() { return ( ); } } const actionCreators = { changeSection, }; export default connect(null, actionCreators)(Header);