1.2.9 • Published 2 years ago

@cdztt/tooltip-react v1.2.9

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

Usage

  1. npm i @cdztt/tooltip-react

  2. sample code:

import Tooltip from '@cdztt/tooltip-react'

function Link() {
    return (
        <div>
            <a href='https://example.com'>
                Link
            </a>
            <Tooltip place='bottom'>
                example.com
            </Tooltip>
        </div>
    )
}
  • API

Parameters: | Parameters | Properties | Type | Units | Default | | ----------- | ---------- | ---------- | ------- | --------- | | | children | React Node | | undefined | | | place | String | | 'top' | | | size | Number | rem | 1 | | | arrowSize | Number | px | 8 |

Properties: | place | Value | | ----------- | -------------- | | | 'top' | | | 'bottom' | | | 'left' | | | 'right' | | | 'top-left' | | | 'top-right' | | | 'bottom-left' | | | 'bottom-right' | | | 'center' |

1.2.8

2 years ago

1.2.9

2 years ago

1.2.7

2 years ago

1.2.6

2 years ago

1.2.5

2 years ago

1.2.4

2 years ago

1.2.3

2 years ago

1.2.2

2 years ago

1.2.0

2 years ago

1.1.9

2 years ago

1.1.8

2 years ago

1.1.7

2 years ago

1.1.6

2 years ago

1.1.5

2 years ago

1.0.5

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago