aboutsummaryrefslogtreecommitdiffstats
path: root/packages/forms/src/textarea
diff options
context:
space:
mode:
authorLibravatar Vijay A <avijayr@protonmail.com>2021-07-28 19:24:47 +0530
committerLibravatar Vijay Raghavan Aravamudhan <vraravam@users.noreply.github.com>2021-07-28 15:46:43 +0000
commitd671afec794992d052f6f6b7ea73a571e67db7c1 (patch)
tree940f97875da81b34465e1981461ec7152c2b08a5 /packages/forms/src/textarea
parent- updated classnames to 2.3.1 to use added type definitions (diff)
downloadferdium-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/textarea')
-rw-r--r--packages/forms/src/textarea/styles.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/forms/src/textarea/styles.ts b/packages/forms/src/textarea/styles.ts
index f1fb09367..15cc6ca1b 100644
--- a/packages/forms/src/textarea/styles.ts
+++ b/packages/forms/src/textarea/styles.ts
@@ -1,5 +1,5 @@
1import { Theme } from '@meetfranz/theme'; 1import { Theme } from '@meetfranz/theme';
2import * as CSS from 'csstype'; 2import { Property } from 'csstype';
3 3
4export default (theme: Theme) => ({ 4export default (theme: Theme) => ({
5 label: { 5 label: {
@@ -42,7 +42,7 @@ export default (theme: Theme) => ({
42 background: theme.inputBackground, 42 background: theme.inputBackground,
43 border: theme.inputBorder, 43 border: theme.inputBorder,
44 borderRadius: theme.borderRadiusSmall, 44 borderRadius: theme.borderRadiusSmall,
45 boxSizing: 'border-box' as CSS.Property.BoxSizing, 45 boxSizing: 'border-box' as Property.BoxSizing,
46 display: 'flex', 46 display: 'flex',
47 order: 1, 47 order: 1,
48 width: '100%', 48 width: '100%',