omi/components/popover
dntzhang d5ca41fc06 feat(@omiu/transition): disappear prop supported 2021-08-09 23:51:03 +08:00
..
demos feat(@omiu/popover): init 2021-06-28 10:31:37 +08:00
scripts feat(@omiu/popover): init 2021-06-28 10:31:37 +08:00
src feat(@omiu/transition): disappear prop supported 2021-08-09 23:51:03 +08:00
README.md feat(@omiu/popover): init 2021-06-28 10:31:37 +08:00
package.json feat(@omiu/transition): disappear prop supported 2021-08-09 23:51:03 +08:00
tsconfig.json feat(@omiu/popover): init 2021-06-28 10:31:37 +08:00

README.md

Popover

Components that show popover.

Import

import '@omiu/popover'

Or use script tag to ref it.

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

Usage

<o-popover></o-popover>

API

Props

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

defaultProps

{
  effect: 'light',
  position: 'bottom',
  trigger: 'click'
}