Popover 🗑️
Este componente está descontinuado. Substitua pelo Popover next. Para mais informações sobre os recursos next leia a documentação.
Import​
import { Popover } from '@resultadosdigitais/tangram-components'
Properties​
anchorEl​
open​
width​
| Type | number |
|---|
Description​
A numeric value from 280 to 620 (that will be converted into pixels) to control the width of the popover.
dismissible​
| Type | bool |
|---|---|
| Default | false |
Description​
Sets if the Popover is dismissible making available a button that when clicked closes the Popover.
position​
| Type | Enum of: |
|---|---|
| Default | Popover.positions.bottom |
Description​
Determines the position of popover related at anchorEl.
closeLabelText​
| Type | string |
|---|---|
| Default | Popover.translations.en.close |
Description​
Custom text for the label that identifies the close button in the component. This text is not displayed on the screen.
Preset values for English, Brazilian Portuguese and Spanish are available
in Popover.translations.en.close,
Popover.translations.ptBR.close and
Popover.translations.es.close.
onClose​
| Type | func |
|---|---|
| Param | event: React.SyntheticEvent - The event source of the callback. |
| Param | reason: string - Can be Popover.reasonsToClose.clickOutside, |
Description​
A callback called when Popover requests to be closed.
Popover.reasonsToClose.escape or Popover.reasonsToClose.close.
kind​
children​
<PopoverTitle />​
Import​
import { PopoverTitle } from '@resultadosdigitais/tangram-components'
Properties​
children​
Feedback​
Para reportar algum problema ou sugerir alterações, use nosso formulário de melhorias ou, se preferir, abra uma issue no nosso Github.