
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
advanced-antd
Advanced tools
English · 中文
Automatically adjust the scroll-y attribute of the table based on page layout.
The DragModal component is a secondary encapsulation based on the antd Modal component, which can achieve drag and drop pop ups.
https://jilangyangbo.github.io/advanced-antd/
npm install advanced-antd or pnpm install advanced-antd or yarn add advanced-antd
The usage is similar to antd's Table
import {ScrollTable} from 'advanced-antd'
...
<ScrollTable>
dataSource={data}
scroll={{x:true}}
...
bottomHeight={0}
<ScrollTable/>
The usage is similar to antd's Modal
import {ScrollTable} from 'advanced-antd'
...
const [open, setOpen] = useState(false)
...
<DragModal
title="Dragable Modal"
open={open}
onCancel={()=>setOpen(false)}
onOk={()=>setOpen(false)}
>
content
</DragModal>
Includes all the props of antd Table component.
| Prop | Default | Type | Description |
|---|---|---|---|
| bottomHeight | 74 | number | The distance between the table content and the bottom of the screen, such as the height of a pagenation or other component, the default value is 74 |
| minHeight | 60 | number | The minimum height of the table content, which is used to prevent the table content from being too small, and the default value is 60 |
| isFullUp | false | boolean | Whether the table content occupies the entire screen. If set to true, the pagenation component will be fixed at the bottom of the screen |
Includes all the props of antd Modal component.
| Prop | Default | Type | Description |
|---|---|---|---|
| dragable | true | boolean | Whether to enable drag and drop |
| resetOnClose | false | boolean | Whether to reset the position of the modal when it is closed |
FAQs
[English](./README.md) · 中文
We found that advanced-antd demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.