Skip to content

Commit

Permalink
fix: lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiTRy committed Dec 27, 2023
1 parent 531319a commit acf48e9
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/components/molecules/ChipList/ChipList.style.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export const ChipContainer = styled.ul`
* @returns The generated style object for the ChipList.
*/

// eslint-disable-next-line react-refresh/only-export-components
export const generateChipListStyle = (size: 'sm' | 'md' | 'lg', sytemMessage?: TUiColorsSystemMessage) => {
const styemIndicatorStyle = generateSystemIndicatorStyle(sytemMessage);
const getTheme = themeStore.getState().theme;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export default function FancyContentCard(props: IContentCardProps) {
const { image, title, subtitle, description } = { ...defaultProps, ...props };

return (
<FancyCard padding={false}>
<FancyCard>
<InnerCard>
<div>
<img src={image} alt="product" />
Expand Down
2 changes: 1 addition & 1 deletion src/components/molecules/FancyImageText/FancyImageText.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { ReactNode } from 'react';

import { FancyImage } from '@/components/atoms/FancyImage';
import { TFancyImage } from '@/components/atoms/FancyImage/FancyImage';
import { TFancyImage } from '@/components/atoms/FancyImage';
import { ImageVideoOverlay } from '@/components/atoms/ImageVideoOverlay';
import { TPositions } from '@/components/atoms/ImageVideoOverlay/ImageVideoOverlay';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ export const InputContainer = styled.div<{

// Define the styles for the icon

// eslint-disable-next-line react-refresh/only-export-components
export const iconStyle = css<{ theme: TTheme }>`
margin-right: ${({ theme }) => parseFloat(theme.spacing.xs) + 2 + 'px'};
margin-bottom: 2px;
Expand Down
1 change: 1 addition & 0 deletions src/components/molecules/SwitchList/SwitchList.style.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export interface IgenerateListItemStyle {
hoverStyle?: boolean;
}

// eslint-disable-next-line react-refresh/only-export-components
export const generateListItemStyle = (props: IgenerateListItemStyle) => {
const { isActive, hoverStyle } = props;
const theme = themeStore.getState().theme;
Expand Down
1 change: 1 addition & 0 deletions src/components/molecules/TabSwitch/TabSwitch.style.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import { TSpacings } from '@/interface/TSpacings';
// Define the different sizes for the tab switch
const getSpacingFromTheme = themeStore.getState().theme.spacing;

// eslint-disable-next-line react-refresh/only-export-components
export const tabSwitchSizes = {
sm: {
paddingComponent: '0',
Expand Down

0 comments on commit acf48e9

Please sign in to comment.