My boilerplate comes with the styled-components module. Here's another component:
return (
<form onSubmit={this.handleFormSubmit}>
<PlacesAutocomplete inputProps={inputProps} />
<button type="submit">Submit</button>
</form>
)
I just want to add css to this thing, but I can't. So I guess I'll learn the react way of doing it... but after 2 days of google I still have no idea how to style this, and the input box is literally invisible by default. How do I modify a component (in this case Google-Places-Autocomplete) in my npm modules folder with styled-components?
- className doesn't work
- I have no idea if it's even possible to specify properties to the < PlacesAutocomplete>'s input if it's buried within the component, within npm modules