diff --git a/src/index.js b/src/index.js index 73e23e2..39b0ea6 100755 --- a/src/index.js +++ b/src/index.js @@ -1,23 +1,71 @@ -// Demo component -// this is only example component -// you can find tests in __test__ folder +import React, { Component } from 'react'; -import React from 'react'; - -class MyComponent extends React.Component { - componentDidMount() { - // some logic here - we only test if the method is called +const style = { + container: { + position: `relative`, + width: 400, + margin: `30px auto`, + padding: 30, + boxShadow: `0 3px 10px rgba(0,0,0,.2)`, + background: `#fff`, + borderRadius: 5 + }, + gradient: { + fill: `#999`, + fill: `url(#gradient)` } +} + +const FacebookStyle = (props ) => { + return( + + + + + + + + + + + + + + + + + + + + + + + + + ) +} + +class Placeholder extends Component { + + constructor(props) { + super(props); + + this.state = { + speed: props.speed || 2, + primaryColor: props.primaryColor || '#f3f3f3', + secundaryColor: props.secundaryColor || '#ddd' + } + + debugger; + } + render() { return ( -
- - - - +
+
) } }; -export default MyComponent; \ No newline at end of file +export default Placeholder; \ No newline at end of file