Skip to content

Commit 8b091b0

Browse files
committed
fix: linting issues
1 parent b9be380 commit 8b091b0

File tree

13 files changed

+15
-43
lines changed

13 files changed

+15
-43
lines changed

showcases/react-showcase/src/components/badge/index.tsx

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
1-
import {
2-
DBBadge,
3-
DBButton,
4-
DBIcon,
5-
DBInfotext
6-
} from '@components';
1+
import { DBBadge, DBButton, DBIcon, DBInfotext } from '@components';
72
import type { DBBadgeProps } from '@components/src/components/badge/model';
83
import defaultComponentVariants from '../../../../shared/badge.json';
94
import { type BaseComponentProps } from '../base-component-data';

showcases/react-showcase/src/components/checkbox/index.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
import {
2-
DBCheckbox,
3-
DBInfotext,
4-
getBoolean
5-
} from '@components';
1+
import { DBCheckbox, DBInfotext, getBoolean } from '@components';
62
import { type DBCheckboxProps } from '@components/src/components/checkbox/model';
73
import defaultComponentVariants from '../../../../shared/checkbox.json';
84
import { type BaseComponentProps } from '../base-component-data';

showcases/react-showcase/src/components/custom-select/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import { type CustomSelectOptionType } from '@db-ux/core-components/src/components/custom-select/model';
2-
import { useState } from 'react';
31
import { DBCustomSelect, DBInfotext } from '@components';
42
import type { DBCustomSelectProps } from '@components/src/components/custom-select/model';
3+
import { type CustomSelectOptionType } from '@db-ux/core-components/src/components/custom-select/model';
4+
import { useState } from 'react';
55
import defaultComponentVariants from '../../../../shared/custom-select.json';
66
import type { BaseComponentProps } from '../base-component-data';
77
import { getVariants } from '../data';

showcases/react-showcase/src/components/drawer/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import { useState } from 'react';
21
import { DBButton, DBDrawer } from '@components';
32
import type { DBDrawerProps } from '@components/src/components/drawer/model';
3+
import { useState } from 'react';
44
import defaultComponentVariants from '../../../../shared/drawer.json';
55
import { type BaseComponentProps } from '../base-component-data';
66
import { getVariants } from '../data';

showcases/react-showcase/src/components/form/index.tsx

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { useEffect, useState } from 'react';
21
import {
32
DBAccordion,
43
DBAccordionItem,
@@ -19,10 +18,8 @@ import {
1918
DBTextarea,
2019
DBTooltip
2120
} from '@components';
22-
import type {
23-
ChangeEvent,
24-
ValueLabelType
25-
} from '@components/shared/model';
21+
import type { ChangeEvent, ValueLabelType } from '@components/shared/model';
22+
import { useEffect, useState } from 'react';
2623

2724
const FormComponent = () => {
2825
const [input, setInput] = useState('');

showcases/react-showcase/src/components/navigation/index.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
import {
2-
DBInfotext,
3-
DBNavigation,
4-
DBNavigationItem
5-
} from '@components';
1+
import { DBInfotext, DBNavigation, DBNavigationItem } from '@components';
62
import type { DBNavigationProps } from '@components/src/components/navigation/model';
73
import defaultComponentVariants from '../../../../shared/navigation.json';
84
import { type BaseComponentProps } from '../base-component-data';

showcases/react-showcase/src/components/radio/index.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
import {
2-
DBInfotext,
3-
DBRadio,
4-
getBoolean
5-
} from '@components';
1+
import { DBInfotext, DBRadio, getBoolean } from '@components';
62
import { type DBRadioProps } from '@components/src/components/radio/model';
73
import defaultComponentVariants from '../../../../shared/radio.json';
84
import { type BaseComponentProps } from '../base-component-data';

showcases/react-showcase/src/components/select/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import { useState } from 'react';
21
import { DBSelect } from '@components';
32
import type { DBSelectProps } from '@components/src/components/select/model';
3+
import { useState } from 'react';
44
import defaultComponentVariants from '../../../../shared/select.json';
55
import { type BaseComponentProps } from '../base-component-data';
66
import { getVariants } from '../data';

showcases/react-showcase/src/components/stack/index.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
import {
2-
DBDivider,
3-
DBInfotext,
4-
DBStack
5-
} from '@components';
1+
import { DBDivider, DBInfotext, DBStack } from '@components';
62
import type { DBStackProps } from '@components/src/components/stack/model';
73
import defaultComponentVariants from '../../../../shared/stack.json';
84
import type { BaseComponentProps } from '../base-component-data';

showcases/react-showcase/src/components/switch/index.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
1+
import { DBInfotext, DBSwitch, getBoolean } from '@components';
12
import type { DBSwitchProps } from '@db-ux/react-core-components/src';
2-
import {
3-
DBInfotext,
4-
DBSwitch,
5-
getBoolean
6-
} from '@components';
73
import defaultComponentVariants from '../../../../shared/switch.json';
84
import { type BaseComponentProps } from '../base-component-data';
95
import { getVariants } from '../data';

0 commit comments

Comments
 (0)