mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-01 21:57:06 +01:00
055a7c52c0
* Adding TextInputBase component * Removing keyup and keydown props, tests and docs * removing showClear from stories * removing unneeded css * simplifying uncontrolled vs controlled to work * Fortifying maxLength test * Lint fix for test * Doc, style and prop updates * Updating constant names with 'base' * Adding a background color * Adding a background color to input
13 lines
259 B
JavaScript
13 lines
259 B
JavaScript
import { SIZES } from '../../../helpers/constants/design-system';
|
|
|
|
export const TEXT_FIELD_BASE_SIZES = {
|
|
SM: SIZES.SM,
|
|
MD: SIZES.MD,
|
|
LG: SIZES.LG,
|
|
};
|
|
export const TEXT_FIELD_BASE_TYPES = {
|
|
TEXT: 'text',
|
|
NUMBER: 'number',
|
|
PASSWORD: 'password',
|
|
};
|