react-mapfilter
Version:
These components are designed for viewing data in Mapeo. They share a common interface:
20 lines (15 loc) • 325 B
JavaScript
// @flow
import React from 'react'
import Image from './Image'
export default {
title: 'internal/Image'
}
export const defaultStory = () => (
<Image
style={{ width: 600, height: 400, backgroundColor: 'black' }}
src="http://lorempixel.com/1920/1920/nature/3/"
/>
)
defaultStory.story = {
name: 'default'
}