# roll-location-in-view LLMs.txt > 供 LLM 快速理解 `@flatbiz/antd/roll-location-in-view` 的使用方式。 ## 模块定位 RollLocationInView:FlatBiz antd 扩展模块。 ## 导入方式 ```ts import { RollLocationInView } from '@flatbiz/antd/roll-location-in-view'; // 也可以从主入口导入:import { ... } from '@flatbiz/antd'; ``` ## 公开导出 - `RollLocationInView` - `RollLocationInViewProps` - `* from ./in-view.jsx` ## Props / 配置要点 ### RollLocationInViewProps - `renderList`(必填):: { activeKey: string; render: ReactElement }[] - `activeKey`(可选):: string - `behavior`(可选):: ScrollBehavior - `direction`(可选):: 'horizontal' | 'vertical' - `style`(可选):: CSSProperties - `className`(可选):: string ## 基础示例 ```tsx import { RollLocationInView, type RollLocationInViewProps } from '@flatbiz/antd/roll-location-in-view'; const props: RollLocationInViewProps = { // 按业务传入必要参数 }; ; ``` ## 源码索引 - `src/roll-location-in-view/in-view.tsx` - `src/roll-location-in-view/index.ts` ## 给 LLM 的注意事项 - 优先使用 `@flatbiz/antd/roll-location-in-view` 或主入口 `@flatbiz/antd` 的公开导出,不要引用内部实现文件。 - 当 Props 与 antd 原组件同名能力冲突时,以本模块导出的 Props 类型为准。 - 若文档未覆盖某个边缘参数,请读取上方源码索引中的类型定义和 JSDoc。