Introduce a new design for the left pane

This commit is contained in:
Evan Hahn 2021-10-12 18:59:08 -05:00 committed by GitHub
parent d60600d6fb
commit 35a54cdc02
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
63 changed files with 1205 additions and 576 deletions

View file

@ -68,6 +68,7 @@ export enum TooltipPlacement {
export type PropsType = {
content: string | JSX.Element;
className?: string;
direction?: TooltipPlacement;
sticky?: boolean;
theme?: Theme;
@ -75,6 +76,7 @@ export type PropsType = {
export const Tooltip: React.FC<PropsType> = ({
children,
className,
content,
direction,
sticky,
@ -101,7 +103,11 @@ export const Tooltip: React.FC<PropsType> = ({
{({ arrowProps, placement, ref, style }) =>
showTooltip && (
<div
className={classNames('module-tooltip', tooltipThemeClassName)}
className={classNames(
'module-tooltip',
tooltipThemeClassName,
className
)}
ref={ref}
style={style}
data-placement={placement}