omi/components/tooltip
dntzhang 0bd151a301 feat(@omiu/popover): init 2021-06-28 10:31:37 +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 feat(@omiu/popover): init 2021-06-28 10:31:37 +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'
}