mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-06-08 15:08:40 +01:00
refactor: standardize Input component prop naming
Replaces `className` prop with `extraClassName` across Input and PasswordInput components for consistency. Updates PasswordInput to use numeric `topOffset` instead of string `topPosition` for better type safety and clearer intent. Adds uncontrolled mode support to PasswordInput with internal state management and optional `defaultShowPassword` prop. Removes unnecessary margin classes from various View components to clean up spacing.
This commit is contained in:
@@ -131,7 +131,7 @@ export const JellyseerrSettings = () => {
|
||||
</Text>
|
||||
</View>
|
||||
<Input
|
||||
className='border border-neutral-800 mb-2'
|
||||
extraClassName='border border-neutral-800 mb-2'
|
||||
placeholder={t(
|
||||
"home.settings.plugins.jellyseerr.server_url_placeholder",
|
||||
)}
|
||||
@@ -161,7 +161,7 @@ export const JellyseerrSettings = () => {
|
||||
showPassword={showJellyseerrPassword}
|
||||
onShowPasswordChange={setShowJellyseerrPassword}
|
||||
layout='mobile'
|
||||
topPosition='11'
|
||||
topOffset={11}
|
||||
/>
|
||||
</View>
|
||||
<Button
|
||||
|
||||
Reference in New Issue
Block a user