We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I want to align the text to auto or center but the text default alignment is set to align-self: flex-end; How to change this property with style prop?
Code:
<ReactSearchAutocomplete items={cityList} onSearch={searchCityHandler} onSelect={handleOnSelect} showIcon={false} placeholder="City" autoFocus={false} formatResult={formatResult} fuseOptions={{ keys: ["city"] }} resultStringKeyName="city" inputSearchString={cityName == null ? "" : cityName} styling={{ border: `1px solid ${defaultColours.slate40}`, borderRadius: "8px", backgroundColor: "white", boxShadow: "none", hoverBackgroundColor: `${lighten(0.64, Theme.blue)}`, color: `${Theme.blue}`, alignSelf: "auto", iconColor: `${Theme.blue}`, lineColor: `${defaultColours.slate50}`, placeholderColor: `${defaultColours.slate50}`, clearIconMargin: "3px 8px 0 0", zIndex: 4, }} />
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I want to align the text to auto or center but the text default alignment is set to align-self: flex-end; How to change this property with style prop?
Code:
The text was updated successfully, but these errors were encountered: