1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-25 11:28:51 +01:00
metamask-extension/ui/components/component-library/text-field/text-field.constants.js
George Marshall f6ee35b6e3
Updating TextField component (#17732)
* Removing TextFieldBase and updating TextField and TextFieldSearch

* Removing autoFocus from MDX so it's not annoying
2023-02-15 15:43:51 -08:00

14 lines
265 B
JavaScript

import { Size } from '../../../helpers/constants/design-system';
export const TEXT_FIELD_SIZES = {
SM: Size.SM,
MD: Size.MD,
LG: Size.LG,
};
export const TEXT_FIELD_TYPES = {
TEXT: 'text',
NUMBER: 'number',
PASSWORD: 'password',
SEARCH: 'search',
};