borderRadius()
Applies borderRadius according to platform and version to any component that accepts the borderRadius property in its style.
Usage
import React from 'react';
import { Text, View } from "react-native";
// React Native UI DevKit
import { borderRadius } from 'react-native-ui-devkit';
const App = () => {
return (
<View style={[
borderRadius(),
{
// your custom style here...
}]}>
<Text>Text</Text>
</View>
);
}
export default App;