自定义配置
基本用法与 React 相同。表中链接指向各参数的完整说明,下方补充 style 的平台用法。
导入方式
BaseBuildConfig、StreamingConfig 和 FluxdownRef 从 @fluxdown/react-native 导入;Theme 从 @fluxdown/react-native-plugins/typings 导入;IPluginItem 从 @fluxdown/react-base-plugins/typings 导入。
style 可选
类型: StyleProp<ViewStyle>
默认值: undefined
最外层 View 的 React Native 样式,支持普通对象、StyleSheet.create 和样式数组。没有 className 属性,容器布局通过 style 设置: