ProfileEditorOwner
The owner's photo button and name, for the ProfileEditor menuHeader slot.
ProfileEditorOwner
ProfileEditorOwner puts the owner's photo button above their name, and it fills the menuHeader slot of ProfileEditor. ProfileEditor draws that slot on the phone menu only. A page draws no owner block in its rail, and an open section hides it with the rest of the menu. Pass it as the slot's only child, because the slot spaces its children wider than the design spaces the photo and the name.
Storybook
Loading
Props
Prop
Type
Also takes the attributes of the element it renders.
Tokens
Derived from the component source at docs-generation time — these are the --augds-* variables it reads. Re-theme the colour slots by constructing a partner DesignSystemTheme and wrapping the consumer subtree in <ThemeProvider>, never by hard-coding values.
--augds-foreground-primary
Source
src/components/ui/profile-editor-owner/profile-editor-owner.tsx