Sha256: c17920cbc58fb658b0aae0b6e54e08654589e8f3777416d81121fabdef0945e9
Contents?: true
Size: 840 Bytes
Versions: 88
Compression:
Stored size: 840 Bytes
Contents
import React from 'react' import { Avatar } from '../../' const AvatarNoImage = (props) => { return ( <div> <Avatar imageUrl="Just some text here" name="Terry Johnson" size="xs" {...props} /> <Avatar imageUrl={4} name="Terry Johnson" size="sm" {...props} /> <Avatar imageUrl="https://google.com" name="Terry Johnson" size="md" {...props} /> <Avatar imageUrl="" name="Terry Johnson" size="lg" {...props} /> <Avatar imageUrl="https://randomuser.me/api/portraits/men/notapicture.jpg" name="Terry Johnson" size="xl" {...props} /> </div> ) } export default AvatarNoImage
Version data entries
88 entries across 88 versions & 1 rubygems