Skip to content
New issue

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

How I can set the height and keep label center #148

Open
wdospinal opened this issue Jun 4, 2023 · 0 comments
Open

How I can set the height and keep label center #148

wdospinal opened this issue Jun 4, 2023 · 0 comments

Comments

@wdospinal
Copy link

Screenshot 2023-06-04 at 3 19 03 PM

  <Hoshi
    label={label}
    onChange={onChange}
    value={value}
    borderColor="transparent"
    labelStyle={
      !isFocused && value === '' ? styles.placeholder : styles.label
    }
    style={styles.input}
    onBlur={handleBlur}
    onFocus={handleFocus}
    height={32}
  />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant