react-iphone
TypeScript icon, indicating that this package has built-in type declarations

1.0.4 • Public • Published

react-iphone

Made with create-react-library

NPM JavaScript Style Guide

Install

npm install --save react-iphone

Usage

@import '~react-iphone/dist/index.css';
import React, { Component } from 'react'

import { Iphone } from 'react-iphone'
import './index.css'

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

API

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

License

MIT © @juliusdejon

/react-iphone/

    Package Sidebar

    Install

    npm i react-iphone

    Weekly Downloads

    0

    Version

    1.0.4

    License

    MIT

    Unpacked Size

    10.4 kB

    Total Files

    11

    Last publish

    Collaborators

    • bakajoke