
Security News
TC39 Advances 11 Proposals for Math Precision, Binary APIs, and More
TC39 advances 11 JavaScript proposals, with two moving to Stage 4, bringing better math, binary APIs, and more features one step closer to the ECMAScript spec.
@fluentui-contrib/react-draggable-dialog
Advanced tools
A draggable dialog component powered by Fluent UI.
A draggable dialog component powered by Fluent UI.
yarn add @fluentui-contrib/react-draggable-dialog
npm install @fluentui-contrib/react-draggable-dialog
import * as React from 'react';
import { Button, DialogContent, DialogTrigger, DialogActions, DialogBody, DialogTitle } from '@fluentui/react-components';
import { DraggableDialog, DraggableDialogSurface, DraggableDialogHandle } from '@fluentui-contrib/react-draggable-dialog';
export const DraggableDialog = () => {
return (
<DraggableDialog>
<DialogTrigger>
<Button>Toggle dialog</Button>
</DialogTrigger>
<DraggableDialogSurface>
<DialogBody>
<DraggableDialogHandle>
<DialogTitle>Drag me</DialogTitle>
</DraggableDialogHandle>
<DialogContent>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Quisquam exercitationem cumque repellendus eaque est dolor eius expedita nulla ullam? Tenetur reprehenderit aut voluptatum impedit voluptates in natus iure cumque eaque?</p>
</DialogContent>
<DialogActions>
<DialogTrigger disableButtonEnhancement>
<Button appearance="secondary">Close</Button>
</DialogTrigger>
<Button appearance="primary">Do Something</Button>
</DialogActions>
</DialogBody>
</DraggableDialogSurface>
</DraggableDialog>
);
};
FAQs
A draggable dialog component powered by Fluent UI.
The npm package @fluentui-contrib/react-draggable-dialog receives a total of 124 weekly downloads. As such, @fluentui-contrib/react-draggable-dialog popularity was classified as not popular.
We found that @fluentui-contrib/react-draggable-dialog demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
TC39 advances 11 JavaScript proposals, with two moving to Stage 4, bringing better math, binary APIs, and more features one step closer to the ECMAScript spec.
Research
/Security News
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.