1. Edit the _data/metadata.json with your site's information.
  2. (Optional) Edit .eleventy.js with your configuration preferences.
  3. Delete this message from _includes/layouts/base.njk.

This is an Eleventy project created from the eleventy-starter repo.

Auto-scaling Images in React Native

One method to auto-scale images in React Native while preserving aspect ratio:

const imageStyles = {
flex: 1,
width: null,
height: null,
resizeMode: 'contain',

const Example = () => {
return (

Share on Twitter