diff --git a/Libraries/Utilities/Dimensions.js b/Libraries/Utilities/Dimensions.js index 319aa8462..93e2cc21a 100644 --- a/Libraries/Utilities/Dimensions.js +++ b/Libraries/Utilities/Dimensions.js @@ -57,6 +57,8 @@ class Dimensions { * than caching the value (for example, using inline styles rather than * setting a value in a `StyleSheet`). * + * Example: `var {height, width} = Dimensions.get('window');` + * * @param {string} dim Name of dimension as defined when calling `set`. * @returns {Object?} Value for the dimension. */