mirror of
https://gitlab.nic.cz/turris/reforis/foris-js.git
synced 2024-11-13 17:25:34 +01:00
Refactor ThreeDotsMenu component to include additional props
This commit is contained in:
parent
1ec0a26199
commit
81b71f8153
|
@ -18,9 +18,9 @@ ThreeDotsMenu.propTypes = {
|
|||
children: PropTypes.arrayOf(PropTypes.node).isRequired,
|
||||
};
|
||||
|
||||
function ThreeDotsMenu({ children }) {
|
||||
function ThreeDotsMenu({ children, ...props }) {
|
||||
return (
|
||||
<div className="dropdown">
|
||||
<div className="dropdown position-static" {...props}>
|
||||
<Button
|
||||
className="btn-sm btn-link text-body"
|
||||
data-bs-toggle="dropdown"
|
||||
|
|
Loading…
Reference in New Issue
Block a user