diff options
| author | Haishan <[email protected]> | 2021-06-06 00:32:24 +0800 |
|---|---|---|
| committer | Haishan <[email protected]> | 2021-06-06 00:33:22 +0800 |
| commit | 5ff2f89afb71fd2976c487692ec73085241e09c7 (patch) | |
| tree | fe7a53d8839b1406e4ff31a2fa8a543669c7693f /src/components/rules | |
| parent | 25dbe5eff483bfdceec677b13ad4ec905c5fe566 (diff) | |
Stop use postcss-nested postcss-extend-rule
Diffstat (limited to 'src/components/rules')
| -rw-r--r-- | src/components/rules/RuleProviderItem.module.scss (renamed from src/components/rules/RuleProviderItem.module.css) | 0 | ||||
| -rw-r--r-- | src/components/rules/RuleProviderItem.tsx | 2 | ||||
| -rw-r--r-- | src/components/rules/TextFilter.tsx | 18 |
3 files changed, 1 insertions, 19 deletions
diff --git a/src/components/rules/RuleProviderItem.module.css b/src/components/rules/RuleProviderItem.module.scss index 532ec8a..532ec8a 100644 --- a/src/components/rules/RuleProviderItem.module.css +++ b/src/components/rules/RuleProviderItem.module.scss diff --git a/src/components/rules/RuleProviderItem.tsx b/src/components/rules/RuleProviderItem.tsx index c92cd05..fe4610e 100644 --- a/src/components/rules/RuleProviderItem.tsx +++ b/src/components/rules/RuleProviderItem.tsx @@ -5,7 +5,7 @@ import { useUpdateRuleProviderItem } from 'src/components/rules/rules.hooks'; import { SectionNameType } from 'src/components/shared/Basic'; import { RotateIcon } from 'src/components/shared/RotateIcon'; -import s from './RuleProviderItem.module.css'; +import s from './RuleProviderItem.module.scss'; export function RuleProviderItem({ idx, diff --git a/src/components/rules/TextFilter.tsx b/src/components/rules/TextFilter.tsx deleted file mode 100644 index a3cc29e..0000000 --- a/src/components/rules/TextFilter.tsx +++ /dev/null @@ -1,18 +0,0 @@ -import * as React from 'react'; -import { useTextInut } from 'src/hooks/useTextInput'; -import { ruleFilterText } from 'src/store/rules'; - -import shared from '../shared.module.css'; - -export function TextFilter() { - const [onChange, text] = useTextInut(ruleFilterText); - return ( - <input - className={shared.input} - type="text" - value={text} - onChange={onChange} - placeholder="Filter" - /> - ); -} |
