@momentum-ui/react-collaboration
Version:
Cisco Momentum UI Framework for React Collaboration Applications
17 lines (16 loc) • 469 B
JavaScript
import React from 'react';
import { Button, Popover } from '@momentum-ui/react-collaboration';
export default function PopOverDelay() {
const contentDelay = (
<span key="1" style={{ padding: '10px' }}>
Delayed
</span>
);
return (
<div className="docs-example docs-example--spacing">
<Popover content={contentDelay} delay={500}>
<Button children="Hover with Delay" ariaLabel="Hover with Delay" />
</Popover>
</div>
);
}