mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 11:06:40 +07:00
panel buttons tooltips
This commit is contained in:
parent
a0296f6332
commit
9321f41cd5
9 changed files with 82 additions and 12 deletions
8
src/components/panels/Tooltip.tsx
Normal file
8
src/components/panels/Tooltip.tsx
Normal file
|
@ -0,0 +1,8 @@
|
|||
import * as React from 'react';
|
||||
import classnames from 'classnames';
|
||||
|
||||
export const Tooltip = ({ children, position = 'bottom' }: { children: string, position?: string }) => (
|
||||
<div className={classnames('panel-tooltip', { top: position === 'top' })}>
|
||||
{children}
|
||||
</div>
|
||||
);
|
Loading…
Add table
Add a link
Reference in a new issue