25 lines
474 B
TypeScript
25 lines
474 B
TypeScript
import { createStyle } from '@gluestack-style/react';
|
|
|
|
export const TextareaInput = createStyle({
|
|
p: '$2',
|
|
color: '$textLight900',
|
|
textAlignVertical: 'top',
|
|
flex: 1,
|
|
props: {
|
|
// @ts-ignore
|
|
multiline: true,
|
|
placeholderTextColor: '$textLight500',
|
|
},
|
|
_dark: {
|
|
color: '$textDark50',
|
|
props: {
|
|
placeholderTextColor: '$textDark400',
|
|
},
|
|
},
|
|
_web: {
|
|
'cursor': 'text',
|
|
':disabled': {
|
|
cursor: 'not-allowed',
|
|
},
|
|
},
|
|
});
|