Skip to content

About

Simple React library to preview iPhone devices right in your web applications

Resources

Stars

1 star

Watchers

1 watching

Forks

Repository files navigation

react-iphone

Made with create-react-library

NPM JavaScript Style Guide

Install

npm install --save react-iphone

Usage

import React, { Component } from 'react'

import { Iphone } from 'react-iphone'

class Example extends Component {
  render() {
    return <Iphone />
  }
}

And import style manually

@import '~react-iphone/dist/index.css';

API

Property Description Type Default
height Height of the phone string | number 500px
width Width of the phone string | number 240px
backgroundStyle Background of the phone object -

License

MIT © @juliusdejon

About

Simple React library to preview iPhone devices right in your web applications

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages