Skip to content

Add accessibility props to avatar component #1155

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

Merged
merged 3 commits into from
Jan 27, 2021
Merged

Conversation

Dor256
Copy link
Contributor

@Dor256 Dor256 commented Jan 26, 2021

Description

Add missing accessibility typing to Avatar component.

Changelog

Fix accessibility typings to Avatar component

@Dor256 Dor256 added the typescript typescript related issue label Jan 26, 2021
@Dor256 Dor256 requested review from ethanshar and M-i-k-e-l January 26, 2021 15:49
@@ -136,7 +137,7 @@ export type AvatarProps = {
* Used as a testing identifier
*/
testID?: string;
};
} & AccessibilityProps;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. Do you need them all? Perhaps you can Pick the way we do in Dialog?
  2. Either way, it should be at the start (export type AvatarProps = AccessibilityProps & {).

@ethanshar
Copy link
Collaborator

@Dor256
Add description and changelog :(

@Dor256 Dor256 force-pushed the avatar-accessibility branch from 30db2a5 to 59a9be7 Compare January 27, 2021 08:15
@Dor256 Dor256 force-pushed the avatar-accessibility branch from 59a9be7 to f1af5c5 Compare January 27, 2021 08:20
@M-i-k-e-l M-i-k-e-l enabled auto-merge (squash) January 27, 2021 09:48
@M-i-k-e-l M-i-k-e-l merged commit 1c15599 into master Jan 27, 2021
@M-i-k-e-l M-i-k-e-l deleted the avatar-accessibility branch December 26, 2022 09:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
typescript typescript related issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants