This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as React from 'react'; | |
import * as ReactDOM from 'react-dom'; | |
interface IPortalContentProps { | |
children: React.ReactNode; | |
} | |
const createPortal = () => { | |
const portalRef: React.RefObject<HTMLDivElement> = React.createRef(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import cn from 'classnames'; | |
import * as React from 'react'; | |
import { Consumer, Provider } from 'contexts/tab-context'; | |
import styles from './TabsStyles.scss'; | |
import { ITabIndex, ITabsContext } from 'contexts/tab-context'; | |
NewerOlder