Skip to content

Commit

Permalink
Fix Input.js error
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Forrest authored and Matthew Forrest committed Aug 30, 2019
1 parent e384d3c commit a67e5a4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/components/layout/Input.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
import React, { Component } from 'react';
import { render } from 'react-dom';
import { connect } from 'react-redux';
import '@carto/airship-style';

const Input = ({ id, required }) => {
const Input = ({ id, placeholder }) => {
return (
<div className="as-p--16">
<input
className="as-input"
id={id}
type="text"
placeholder={this.props.placeholder}
placeholder={placeholder}
></input>
</div>
)
Expand Down

0 comments on commit a67e5a4

Please sign in to comment.