omi/components/tooltip
YunYouJun 3a3d695206 refactor(common): change common/theme.scss to common/scss/theme.scss 2021-09-08 21:26:12 +08:00
..
demos refactor(omiu): rename tip to tooltip 2021-06-28 08:37:23 +08:00
scripts refactor(omiu): rename tip to tooltip 2021-06-28 08:37:23 +08:00
src refactor(common): change common/theme.scss to common/scss/theme.scss 2021-09-08 21:26:12 +08:00
README.md refactor(omiu): rename tip to tooltip 2021-06-28 08:37:23 +08:00
package.json feat(@omiu/popover): init 2021-06-28 10:31:37 +08:00
tsconfig.json refactor(omiu): rename tip to tooltip 2021-06-28 08:37:23 +08:00

README.md

Tip

Components that show tooptip or popover.

Import

import '@omiu/tip'

Or use script tag to ref it.

<script src="https://unpkg.com/@omiu/tip"></script>

Usage

<o-tip></o-tip>

API

Props

{
  content?: string,
  effect?: string,
  position?: string
}

defaultProps

{
  content: '',
  effect: 'light',
  position: 'bottom'
}