remove unecessary props
Signed-off-by: Hermione Bird <hermioneb@spotify.com>
This commit is contained in:
@@ -34,11 +34,8 @@ export const PasswordField = forwardRef<HTMLDivElement, PasswordFieldProps>(
|
||||
size = 'small',
|
||||
label,
|
||||
secondaryLabel,
|
||||
tertiaryLabel,
|
||||
description,
|
||||
isRequired,
|
||||
tone,
|
||||
message,
|
||||
'aria-label': ariaLabel,
|
||||
'aria-labelledby': ariaLabelledBy,
|
||||
placeholder,
|
||||
|
||||
@@ -38,19 +38,4 @@ export interface PasswordFieldProps
|
||||
* Text to display in the input when it has no value
|
||||
*/
|
||||
placeholder?: string;
|
||||
|
||||
/**
|
||||
* A tertiary label to display on the right side of the field label
|
||||
*/
|
||||
tertiaryLabel?: string;
|
||||
|
||||
/**
|
||||
* The visual tone of the message below the field, if any
|
||||
*/
|
||||
tone?: 'positive' | 'critical' | 'neutral' | 'caution';
|
||||
|
||||
/**
|
||||
* A message to display below the field, such as validation feedback
|
||||
*/
|
||||
message?: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user