🚚 frontend: rename avatar molecules to match filenames

This commit is contained in:
Eric Doughty-Papassideris
2024-04-21 22:10:32 +02:00
committed by ericlinagora
parent 668fbcadf1
commit 764ff7aee2
6 changed files with 7 additions and 7 deletions
@@ -7,7 +7,7 @@ import Avatar from '@atoms/avatar';
import { CheckIcon } from '@atoms/icons-agnostic'; import { CheckIcon } from '@atoms/icons-agnostic';
export default { export default {
title: '@molecules/avatar-block', title: '@molecules/grouped-rows',
}; };
const Template: ComponentStory<any> = (props: { const Template: ComponentStory<any> = (props: {
@@ -5,7 +5,7 @@ import ChannelBlock from '.';
import Avatar from '@atoms/avatar'; import Avatar from '@atoms/avatar';
export default { export default {
title: '@molecules/avatar-block', title: '@molecules/grouped-rows',
}; };
const Template: ComponentStory<any> = (props: { const Template: ComponentStory<any> = (props: {
@@ -7,7 +7,7 @@ import Avatar from '@atoms/avatar';
import { CheckIcon } from '@atoms/icons-agnostic'; import { CheckIcon } from '@atoms/icons-agnostic';
export default { export default {
title: '@molecules/avatar-block', title: '@molecules/grouped-rows',
}; };
const Template: ComponentStory<any> = (props: { const Template: ComponentStory<any> = (props: {
@@ -7,7 +7,7 @@ import Avatar from '@atoms/avatar';
import { CheckIcon } from '@atoms/icons-agnostic'; import { CheckIcon } from '@atoms/icons-agnostic';
export default { export default {
title: '@molecules/avatar-block', title: '@molecules/grouped-rows',
}; };
const Template: ComponentStory<any> = (props: { const Template: ComponentStory<any> = (props: {
@@ -3,7 +3,7 @@ import React from 'react';
import BaseBlock from '@molecules/grouped-rows/base'; import BaseBlock from '@molecules/grouped-rows/base';
// @ts-ignore // @ts-ignore
interface BlockProps extends React.InputHTMLAttributes<HTMLInputElement> { interface UserBlockProps extends React.InputHTMLAttributes<HTMLInputElement> {
avatar: JSX.Element; avatar: JSX.Element;
title: JSX.Element | string; title: JSX.Element | string;
subtitle: JSX.Element | string; subtitle: JSX.Element | string;
@@ -11,6 +11,6 @@ interface BlockProps extends React.InputHTMLAttributes<HTMLInputElement> {
className?: string; className?: string;
} }
export default function Workspace(props: BlockProps) { export default function UserBlock(props: UserBlockProps) {
return BaseBlock(props); return BaseBlock(props);
} }
@@ -7,7 +7,7 @@ import Avatar from '@atoms/avatar';
import { CheckIcon } from '@atoms/icons-agnostic'; import { CheckIcon } from '@atoms/icons-agnostic';
export default { export default {
title: '@molecules/avatar-block', title: '@molecules/grouped-rows',
}; };
const Template: ComponentStory<any> = (props: { const Template: ComponentStory<any> = (props: {