1
This commit is contained in:
+6
@@ -0,0 +1,6 @@
|
||||
export const getRenderPropValue = propValue => {
|
||||
if (!propValue) {
|
||||
return null;
|
||||
}
|
||||
return typeof propValue === 'function' ? propValue() : propValue;
|
||||
};
|
||||
Reference in New Issue
Block a user