UNPKG

@zohodesk/components

Version:

Dot UI is a customizable React component library built to deliver a clean, accessible, and developer-friendly UI experience. It offers a growing set of reusable components designed to align with modern design systems and streamline application development

26 lines 1.1 kB
import { DUMMY_FUNCTION, DUMMY_OBJECT } from '@zohodesk/dotkit/es/utils/constants'; import { DEFAULT_PALETTE, DEFAULT_BG_APPEARANCE, DEFAULT_BORDER_APPEARANCE, DEFAULT_VARIANT, DEFAULT_SIZE, DEFAULT_STATUS, DEFAULT_LOADER_PLACEMENT, DEFAULT_ICON_PLACEMENT, DEFAULT_ICON_SIZE, DEFAULT_PALETTE_SHADE, DEFAULT_SHAPE, DEFAULT_DISABLED_APPEARANCE, DEFAULT_BUTTON_TYPE } from "../constants"; const defaultProps = { palette: DEFAULT_PALETTE, bgAppearance: DEFAULT_BG_APPEARANCE, borderAppearance: DEFAULT_BORDER_APPEARANCE, variant: DEFAULT_VARIANT, size: DEFAULT_SIZE, status: DEFAULT_STATUS, loaderPlacement: DEFAULT_LOADER_PLACEMENT, iconPlacement: DEFAULT_ICON_PLACEMENT, iconSize: DEFAULT_ICON_SIZE, paletteShade: DEFAULT_PALETTE_SHADE, disabledAppearance: DEFAULT_DISABLED_APPEARANCE, isDisabled: false, isReadOnly: false, isSelected: false, shape: DEFAULT_SHAPE, type: DEFAULT_BUTTON_TYPE, onClick: DUMMY_FUNCTION, customClass: DUMMY_OBJECT, customProps: DUMMY_OBJECT, customAttributes: DUMMY_OBJECT, a11yAttributes: DUMMY_OBJECT }; export default defaultProps;