Hello,
I am using the Card component and want to remove the padding of the card which is(paddingHorizontal:24, paddingVertical:16), But I am unable to do this. I lookup doc but found nothing.
Is there any way to change card Paddings?
Thanks,
Sarmad
| Package | Version |
| ----------- | ----------- |
| @eva-design/eva | 1.4.0 |
| @ui-kitten/components | 4.4.1 |
I think this is the answer to your question
https://akveo.github.io/react-native-ui-kitten/docs/design-system/customize-mapping#merge-mappings
It was discussed multiple times:
What the @DanteVR suggests is an "official way"
I have done multiple mapping for font-family and card
{
"strict": {
"text-font-family": "Ubuntu-Regular"
},
"components": {
"Card": {
"appearances": {
"outline": {
"mapping": {
"bodyPaddingHorizontal": -16,
"bodyPaddingVertical": -16
}
}
}
}
}
}