diff options
author | 2021-07-28 19:24:47 +0530 | |
---|---|---|
committer | 2021-07-28 15:46:43 +0000 | |
commit | d671afec794992d052f6f6b7ea73a571e67db7c1 (patch) | |
tree | 940f97875da81b34465e1981461ec7152c2b08a5 /packages/forms/src/input | |
parent | - updated classnames to 2.3.1 to use added type definitions (diff) | |
download | ferdium-app-d671afec794992d052f6f6b7ea73a571e67db7c1.tar.gz ferdium-app-d671afec794992d052f6f6b7ea73a571e67db7c1.tar.zst ferdium-app-d671afec794992d052f6f6b7ea73a571e67db7c1.zip |
Minor refactoring to use the destructured code pattern while importing from other modules.
Diffstat (limited to 'packages/forms/src/input')
-rw-r--r-- | packages/forms/src/input/styles.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/forms/src/input/styles.ts b/packages/forms/src/input/styles.ts index 99b0685a8..1fe6a03cd 100644 --- a/packages/forms/src/input/styles.ts +++ b/packages/forms/src/input/styles.ts | |||
@@ -1,5 +1,5 @@ | |||
1 | import { Theme } from '@meetfranz/theme'; | 1 | import { Theme } from '@meetfranz/theme'; |
2 | import * as CSS from 'csstype'; | 2 | import { Property } from 'csstype'; |
3 | 3 | ||
4 | const prefixStyles = (theme: Theme) => ({ | 4 | const prefixStyles = (theme: Theme) => ({ |
5 | background: theme.inputPrefixBackground, | 5 | background: theme.inputPrefixBackground, |
@@ -85,7 +85,7 @@ export default (theme: Theme) => ({ | |||
85 | background: theme.inputBackground, | 85 | background: theme.inputBackground, |
86 | border: theme.inputBorder, | 86 | border: theme.inputBorder, |
87 | borderRadius: theme.borderRadiusSmall, | 87 | borderRadius: theme.borderRadiusSmall, |
88 | boxSizing: 'border-box' as CSS.Property.BoxSizing, | 88 | boxSizing: 'border-box' as Property.BoxSizing, |
89 | display: 'flex', | 89 | display: 'flex', |
90 | height: theme.inputHeight, | 90 | height: theme.inputHeight, |
91 | order: 1, | 91 | order: 1, |