import React from 'react'
import classnames from 'classnames'
import type { ReactNode } from 'react'
export interface TooltipProps {
block?: boolean
inline?: boolean
start?: boolean
end?: boolean
icon?: ReactNode
children: ReactNode
className?: classnames.Argument
}
export const Tooltip: React.FC<TooltipProps> = ({ block, inline, start, end, icon, className, children }) =>
<div className={classnames(
'tooltip',
{ 'tooltip-block': block, 'tooltip-inline': inline, 'tooltip-start': start, 'tooltip-end': end },
className
)}>
{icon ?? <span className="dashicons dashicons-editor-help"></span>}
<div className="tooltip-content">
{children}
</div>
</div>
| nama | waktu | ukuran | owner | perm | aksi |
|---|---|---|---|---|---|
| .. | |||||
| icons/ | 2026-07-30 21:37 | 2.3 KB | 76129f60960:kunden | dxwrx-r--r | |
| Badge.tsx | 2026-07-30 21:37 | 838 B | 76129f60960:kunden | -xw-x----- | |
| Button.tsx | 2026-07-30 21:37 | 929 B | 76129f60960:kunden | -xw-x----- | |
| ConfirmDialog.tsx | 2026-07-30 21:37 | 1.1 KB | 76129f60960:kunden | -xw-x----- | |
| CopyToClipboardButton.tsx | 2026-07-30 21:37 | 1.64 KB | 76129f60960:kunden | -xw-x----- | |
| DismissableNotice.tsx | 2026-07-30 21:37 | 700 B | 76129f60960:kunden | -xw-x----- | |
| SubmitButton.tsx | 2026-07-30 21:37 | 913 B | 76129f60960:kunden | -xw-x----- | |
| Tooltip.tsx | 2026-07-30 21:37 | 681 B | 76129f60960:kunden | -xw-x----- | |
| UpsellBanner.tsx | 2026-07-30 21:37 | 1.16 KB | 76129f60960:kunden | -xw-x----- | |
| UpsellDialog.tsx | 2026-07-30 21:37 | 2.11 KB | 76129f60960:kunden | -xw-x----- | |