# dialog-drawer-content LLMs.txt > 供 LLM 快速理解 `@flatbiz/antd/dialog-drawer-content` 的使用方式。 ## 模块定位 当dialogDrawer底部操作按钮在业务content内部时,使用 ## 导入方式 ```ts import { DialogDrawerContent } from '@flatbiz/antd/dialog-drawer-content'; // 也可以从主入口导入:import { ... } from '@flatbiz/antd'; ``` ## 公开导出 - `DialogDrawerContent` - 当dialogDrawer底部操作按钮在业务content内部时,使用 - `DialogDrawerContentProps` - `* from ./content.jsx` ## 依赖的 antd 能力 `Space` ## Props / 配置要点 ### DialogDrawerContentProps - `footer`(可选):: (data: { onClose: () => void }) => ReactElement - `footerStyle`(可选):: CSSProperties - `children`(可选):: ReactNode - `okHidden`(可选):: boolean - `cancelHidden`(可选):: boolean - `okButtonExtraProps`(可选):: Omit< ButtonWrapperProps, 'onClick' | 'children' | 'loading' > - `cancelButtonExtraProps`(可选):: Omit< ButtonWrapperProps, 'onClick' | 'children' | 'loading' > - `okText`(可选):: string | ReactElement - `cancelText`(可选):: string | ReactElement - `onOk`(可选):: (e: React.MouseEvent) => void | Promise - `onCancel`(可选):: (e: React.MouseEvent) => void | Promise ## 使用规则与行为 - 当dialogDrawer底部操作按钮在业务content内部时,使用 ## 基础示例 ```tsx import { DialogDrawerContent, type DialogDrawerContentProps } from '@flatbiz/antd/dialog-drawer-content'; const props: DialogDrawerContentProps = { // 按业务传入必要参数 }; ; ``` ## 源码索引 - `src/dialog-drawer-content/content.tsx` - `src/dialog-drawer-content/index.ts` ## 给 LLM 的注意事项 - 优先使用 `@flatbiz/antd/dialog-drawer-content` 或主入口 `@flatbiz/antd` 的公开导出,不要引用内部实现文件。 - 当 Props 与 antd 原组件同名能力冲突时,以本模块导出的 Props 类型为准。 - 若文档未覆盖某个边缘参数,请读取上方源码索引中的类型定义和 JSDoc。