Skip to content

Commit

Permalink
feat: TET-863 review changes
Browse files Browse the repository at this point in the history
  • Loading branch information
karolinaszarek committed Apr 23, 2024
1 parent 917960c commit cd3eb7e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
6 changes: 2 additions & 4 deletions src/components/Status/Status.props.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
import { StatusConfig } from './Status.styles';
import type { StatusAppearance } from './StatusAppearance.type';
import { StatusEmphasis } from './StatusEmphasis.type';

type Status = string;
import type { StatusEmphasis } from './StatusEmphasis.type';

export type StatusProps = {
appearance?: StatusAppearance;
custom?: StatusConfig;
emphasis?: StatusEmphasis;
label?: Status;
label?: string;
};
2 changes: 1 addition & 1 deletion src/components/Status/Status.styles.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { StatusAppearance } from './StatusAppearance.type';
import type { StatusAppearance } from './StatusAppearance.type';

import { BaseProps } from '@/types';

Expand Down
4 changes: 2 additions & 2 deletions src/components/Status/stylesBuilder/stylesBuilder.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { defaultConfig, StatusConfig } from '../Status.styles';
import { StatusAppearance } from '../StatusAppearance.type';
import { StatusEmphasis } from '../StatusEmphasis.type';
import type { StatusAppearance } from '../StatusAppearance.type';
import type { StatusEmphasis } from '../StatusEmphasis.type';

import { mergeConfigWithCustom } from '@/services';
import { BaseProps } from '@/types';
Expand Down

0 comments on commit cd3eb7e

Please sign in to comment.