mirror of
https://github.com/portainer/portainer.git
synced 2025-07-22 06:49:40 +02:00
fix(web-editor): add search hint text [EE-3967] (#7496)
This commit is contained in:
parent
c6ab5d5717
commit
d4f4bb532f
7 changed files with 96 additions and 10 deletions
|
@ -10,9 +10,10 @@ type Position = 'top' | 'right' | 'bottom' | 'left';
|
|||
export interface Props {
|
||||
position?: Position;
|
||||
message: string;
|
||||
className?: string;
|
||||
}
|
||||
|
||||
export function Tooltip({ message, position = 'bottom' }: Props) {
|
||||
export function Tooltip({ message, position = 'bottom', className }: Props) {
|
||||
const id = _.uniqueId('tooltip-');
|
||||
|
||||
return (
|
||||
|
@ -28,7 +29,7 @@ export function Tooltip({ message, position = 'bottom' }: Props) {
|
|||
type="info"
|
||||
place={position}
|
||||
effect="solid"
|
||||
className={styles.tooltip}
|
||||
className={clsx(styles.tooltip, className)}
|
||||
arrowColor="transparent"
|
||||
/>
|
||||
</span>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue