🚚 frontend: rename avatar molecules to match filenames
This commit is contained in:
committed by
ericlinagora
parent
668fbcadf1
commit
764ff7aee2
@@ -7,7 +7,7 @@ import Avatar from '@atoms/avatar';
|
||||
import { CheckIcon } from '@atoms/icons-agnostic';
|
||||
|
||||
export default {
|
||||
title: '@molecules/avatar-block',
|
||||
title: '@molecules/grouped-rows',
|
||||
};
|
||||
|
||||
const Template: ComponentStory<any> = (props: {
|
||||
|
||||
@@ -5,7 +5,7 @@ import ChannelBlock from '.';
|
||||
import Avatar from '@atoms/avatar';
|
||||
|
||||
export default {
|
||||
title: '@molecules/avatar-block',
|
||||
title: '@molecules/grouped-rows',
|
||||
};
|
||||
|
||||
const Template: ComponentStory<any> = (props: {
|
||||
|
||||
@@ -7,7 +7,7 @@ import Avatar from '@atoms/avatar';
|
||||
import { CheckIcon } from '@atoms/icons-agnostic';
|
||||
|
||||
export default {
|
||||
title: '@molecules/avatar-block',
|
||||
title: '@molecules/grouped-rows',
|
||||
};
|
||||
|
||||
const Template: ComponentStory<any> = (props: {
|
||||
|
||||
@@ -7,7 +7,7 @@ import Avatar from '@atoms/avatar';
|
||||
import { CheckIcon } from '@atoms/icons-agnostic';
|
||||
|
||||
export default {
|
||||
title: '@molecules/avatar-block',
|
||||
title: '@molecules/grouped-rows',
|
||||
};
|
||||
|
||||
const Template: ComponentStory<any> = (props: {
|
||||
|
||||
@@ -3,7 +3,7 @@ import React from 'react';
|
||||
import BaseBlock from '@molecules/grouped-rows/base';
|
||||
|
||||
// @ts-ignore
|
||||
interface BlockProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
||||
interface UserBlockProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
||||
avatar: JSX.Element;
|
||||
title: JSX.Element | string;
|
||||
subtitle: JSX.Element | string;
|
||||
@@ -11,6 +11,6 @@ interface BlockProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
||||
className?: string;
|
||||
}
|
||||
|
||||
export default function Workspace(props: BlockProps) {
|
||||
export default function UserBlock(props: UserBlockProps) {
|
||||
return BaseBlock(props);
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@ import Avatar from '@atoms/avatar';
|
||||
import { CheckIcon } from '@atoms/icons-agnostic';
|
||||
|
||||
export default {
|
||||
title: '@molecules/avatar-block',
|
||||
title: '@molecules/grouped-rows',
|
||||
};
|
||||
|
||||
const Template: ComponentStory<any> = (props: {
|
||||
|
||||
Reference in New Issue
Block a user