// Copyright (c) Cratis. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. import { useEffect, useState } from 'react'; import { Avatar } from '@cratis/components/Display'; import { RegisteredComponentProps } from '@cratis/scene.react'; import { stringProperty, unionProperty } from '../properties'; const sizes = ['normal', 'large', 'xlarge'] as const; const shapes = ['square', 'circle'] as const; /** * `Avatar` is always round, so a square avatar is a rule on top of it. The `}