Avatar

  • Web
  • Native

Default

import { Box, Avatar } from '@gympass/yoga';

Circle

import { Box, Avatar } from '@gympass/yoga';

Custom image component (children)

You can also pass your very own children to Avatar, which may be useful in cases where you need to wrap it inside some custom component to extend it:

import { Box, Avatar, Text } from '@gympass/yoga';

Props

PropDescriptionTypeDefaultRequired
Made with ❤️ by Gympass • github