All files / atom/textarea/src settings.js

100% Statements 5/5
100% Branches 0/0
0% Functions 0/2
100% Lines 5/5

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 291x   1x         1x           1x                   1x          
export const BASE_CLASS = 'sui-AtomTextarea'
 
export const TEXTAREA_SIZES = {
  SHORT: 'short',
  LONG: 'long'
}
 
export const DEFAULT_PROPS = {
  size: TEXTAREA_SIZES.SHORT,
  onChange: () => {},
  onBlur: () => {}
}
 
export const TEXTAREA_RESIZES = {
  AUTO: 'auto',
  BOTH: 'both',
  HORIZONTAL: 'horizontal',
  INHERIT: 'inherit',
  INITIAL: 'intiial',
  NONE: 'none',
  VERTICAL: 'vertical'
}
 
export const TEXTAREA_STATES = {
  ERROR: 'error',
  SUCCESS: 'success',
  ALERT: 'alert'
}