# types LLMs.txt > 供 LLM 快速理解 `@flatbiz/antd/types` 的使用方式。 ## 模块定位 图片预览项 ## 导入方式 ```ts import { types } from '@flatbiz/antd/types'; // 也可以从主入口导入:import { ... } from '@flatbiz/antd'; ``` ## 公开导出 - `types` - `FormItemNamePath` - `TLocale` - `TFbaLocale` - `PreviewImageItem` - 图片预览项 ## Props / 配置要点 ### FormItemNamePath - 声明:`export type FormItemNamePath = string | number | Array;` ### PreviewImageItem 图片预览项 - `fileName`(可选):: string - `fileKey`(可选):: string - `previewUrl`(必填):: string ## 使用规则与行为 - 数据加载异常默认文案 - 图片预览项 ## 基础示例 ```tsx import { types } from '@flatbiz/antd/types'; ; ``` ## 源码索引 - `src/types/index.ts` ## 给 LLM 的注意事项 - 优先使用 `@flatbiz/antd/types` 或主入口 `@flatbiz/antd` 的公开导出,不要引用内部实现文件。 - 当 Props 与 antd 原组件同名能力冲突时,以本模块导出的 Props 类型为准。 - 若文档未覆盖某个边缘参数,请读取上方源码索引中的类型定义和 JSDoc。