Skip to content

Commit

Permalink
feat(mapping): modal-component mappings add (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
32penkin authored and malashkevich committed Feb 15, 2019
1 parent ee12924 commit caa194a
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 0 deletions.
32 changes: 32 additions & 0 deletions packages/mapping-kitten/eva/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1734,6 +1734,20 @@ export const style = {
'marginRight': 8,
},
},
'Modal': {
'meta': {
'variants': {},
'states': [],
},
'default': {
'paddingHorizontal': 16,
'paddingVertical': 8,
'backgroundColor': 'transparent',
'borderColor': 'blue-dark',
'borderRadius': 3,
'borderWidth': 1,
},
},
};
export const mapping = {
'Radio': {
Expand Down Expand Up @@ -2159,4 +2173,22 @@ export const mapping = {
},
},
},
'Modal': {
'meta': {
'variants': {},
'states': [],
},
'appearance': {
'default': {
'mapping': {
'paddingHorizontal': 16,
'paddingVertical': 8,
'backgroundColor': 'transparent',
'borderColor': 'blue-dark',
'borderRadius': 3,
'borderWidth': 1,
},
},
},
},
};
18 changes: 18 additions & 0 deletions packages/mapping/eva/mapping.json
Original file line number Diff line number Diff line change
Expand Up @@ -421,5 +421,23 @@
}
}
}
},
"Modal": {
"meta": {
"variants": {},
"states": []
},
"appearance": {
"default": {
"mapping": {
"paddingHorizontal": 16,
"paddingVertical": 8,
"backgroundColor": "transparent",
"borderColor": "blue-dark",
"borderRadius": 3,
"borderWidth": 1
}
}
}
}
}

0 comments on commit caa194a

Please sign in to comment.