@planningcenter/organization-avatars
v1.3.0
Published
Organization avatar upload components for Planning Center apps
Keywords
Readme
Organization Avatars
This package provides an OrganizationAvatars React component which encapsulates displaying and updating an organization's avatar.
See the component's type signature for up-to-date props.
If no darkModeAvatarUrl is provided, the avatarUrl will be rendered with dark styles in the dark mode avatar's UI slot.
The showDarkModeAvatar prop gates the rendering of the dark mode avatar UI. It is intended to be controlled by a feature flag, and will eventually be removed when dark mode avatars have been rolled out.
To see an example of how this package can be used, see the /organization page in Accounts. The OrganizationAvatars component is mounted in the _church_information partial.
