Skip to content

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

Description

@wdospinal

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}
  />

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions