I would like to know how create a global Styling prop for the component
Closed this issue · 2 comments
pedromaironi commented
<ReactSearchAutocomplete
items={products}
showIcon={false}
onSelect={handleOnSelect}
autoFocus={true}
styling={{
outline: "none",
fontWeight: "500",
fontSize: "0.9rem",
color: "black",
cursor: "text",
backgroundColor: "white",
borderRadius: "5px",
height: "1.7rem",
border: "1px solid #cfd6e4",
width: "100%",
}}
/>
I have this and I don't want to have to repeat these 9 lines in every autocomplete I create
dankcellar commented
It would be great if I could remove all style and let Bulma style it for me
sickdyd commented
Answered in the previous issue: #74 (comment)