1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-23 03:36:18 +02:00
metamask-extension/ui/components/component-library/text-field-base/text-field-base.constants.js
George Marshall 6907c4a565
Adding TextFieldSearch component (#16296)
* Adding TextFieldSearch component

* Updating docs and stories

* Moving controlled test into testing utils

* Fixing spelling in prop types af => of
2022-11-15 08:49:02 -08:00

14 lines
279 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',
SEARCH: 'search',
};