Menu
React Native 中文网React Native 中文网React Native 中文网
0.63
  • Next
  • 0.63
  • 所有版本
文档组件API讨论热更新关于
🌜
🌞
React Native 中文网React Native 中文网React Native 中文网
  • 文档
  • 组件
  • API
  • 讨论
  • 热更新
  • 关于
  • Versions
    • Next
    • 0.63
    • 所有版本
  • 核心组件
    • 核心组件和API
    • ActivityIndicator
    • Button
    • FlatList
    • Image
    • ImageBackground
    • KeyboardAvoidingView
    • Modal
    • Pressable
    • RefreshControl
    • ScrollView
    • SectionList
    • StatusBar
    • Switch
    • Text
    • TextInput
    • TouchableHighlight
    • TouchableOpacity
    • TouchableWithoutFeedback
    • View
    • VirtualizedList
    • Android 组件
      • DrawerLayoutAndroid
      • TouchableNativeFeedback
    • iOS 组件
      • InputAccessoryView
      • SafeAreaView
  • Props
    • 图片样式属性
    • 布局属性
    • 阴影样式属性
    • Text 样式属性
    • View 样式属性
  • 内部对象类型
    • 布局事件对象
    • 点击事件对象
    • React 节点对象
    • 矩形区域对象
    • ViewToken 对象

阴影样式属性

React 实战教程 深入学习一线大厂必备前端技能,VIP 教程限时免费领取。 立即查看 >

文档#

These properties are iOS only - for similar functionality on Android, use the elevation property.

Props#

shadowColor#

设置阴影色。

类型必填平台
color否iOS

shadowOffset#

设置阴影偏移量。

类型必填平台
object: {width: number,height: number}否iOS

shadowOpacity#

设置阴影不透明度 (乘以颜色的 alpha 分量)。

类型必填平台
number否iOS

shadowRadius#

设置阴影模糊半径。

类型必填平台
number否iOS

本文档贡献者:sunnylqm(100.00%)#
改进文档
最近更新 1/24/2021
Previous
« 布局属性
Next
Text 样式属性 »
  • Props
    • shadowColor
    • shadowOffset
    • shadowOpacity
    • shadowRadius
React Native 中文网 © 2021 武汉青罗网络科技有限公司 鄂ICP备20002031号-3 鄂公网安备 42011202001821号 鄂公网安备 42011202001821号