UNPKG
@react-native-ohos/react-native-material-buttons
Version:
beta (0.6.1-rc.1)
latest (0.6.1-rc.1)
next (0.7.0-rc.1)
0.7.0-rc.1
0.6.1-rc.1
Material buttons
@react-native-ohos/react-native-material-buttons
/
src
/
components
/
raised-button
/
styles.js
18 lines
(14 loc)
•
293 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { StyleSheet, Platform }
from
'react-native'
;
const
styles
= StyleSheet.
create
({
container
: {
height
:
36
,
minWidth
:
88
,
paddingHorizontal
:
16
, ...Platform.
select
({
android
: {
elevation
:
2
, }, }), }, }); export { styles };