mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
pass title to Subscribe button
https://github.com/ant-design/ant-design/pull/18130
This commit is contained in:
parent
a3edf4bf31
commit
6fec1c92ce
1 changed files with 1 additions and 1 deletions
|
|
@ -22,11 +22,11 @@ export const SubscribeButton = (props: Props): JSX.Element =>
|
|||
|
||||
const ButtonDropdown = (props: Props): JSX.Element => {
|
||||
var buttonProps = buildButtonProps(props.name, props.viewUrl);
|
||||
//TODO: pass title (ref https://github.com/ant-design/ant-design/issues/18122)
|
||||
return <Dropdown.Button size="small"
|
||||
placement="bottomRight"
|
||||
type={buttonProps.type as DropdownButtonType}
|
||||
href={buttonProps.href}
|
||||
title={buttonProps.title}
|
||||
overlay={<DropdownOverlay viewUrlMirrors={props.viewUrlMirrors} name={props.name} />}>
|
||||
Subscribe
|
||||
</Dropdown.Button>;
|
||||
|
|
|
|||
Loading…
Reference in a new issue