Skip to content
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.

Popover

Kelly Anyi edited this page Jul 3, 2018 · 1 revision

API

Property Description Type Default
alignment Sets the position of the popover. There are 7 alignment options available: bottom right left top-right top-left botton-right bottom-left. No need to explicitly sets alignment='top' for top alignment string 'top'
subtitle Sets the popover subtitle/content string -
title Sets the popover title boolean -

How to use

<Popover
    title='Title'
    subtitle='This is the content'
    alignment='top-right'
>
    <Button 
        text='Hover me' 
    />
</Popover>

Note: Please ensure to pass a child node to Popover

Clone this wiki locally