UNPKG

@wix/design-system

Version:

@wix/design-system

38 lines (35 loc) 1.68 kB
### dataHook - type: string - description: Applied as data-hook HTML attribute that can be used in the tests. ### className - type: string - description: Specifies a CSS class name to be appended to the components root element. - internal ### width - type: BoxProps['width'] - description: Sets the width of the box (pixels). ### margin - type: BoxProps['margin'] - description: Sets margin on all sides. Accepts a numeric value (multiplied by spacing unit), predefined spacing value (tiny, small, etc.) a spacing token (SP1, SP2, etc.) or a string of space-separated values ("3px 3px"). ### marginTop - type: BoxProps['marginTop'] - description: Sets margin on the top. Accepts a numeric value (multiplied by spacing unit), predefined spacing value (tiny, small, etc.) a spacing token (SP1, SP2, etc.) or a string of space-separated values ("3px 3px"). ### marginRight - type: BoxProps['marginRight'] - description: Sets margin on the right. Accepts a numeric value (multiplied by spacing unit), predefined spacing value (tiny, small, etc.) a spacing token (SP1, SP2, etc.) or a string of space-separated values ("3px 3px"). ### marginBottom - type: BoxProps['marginBottom'] - description: Sets margin on the bottom. Accepts a numeric value (multiplied by spacing unit), predefined spacing value (tiny, small, etc.) a spacing token (SP1, SP2, etc.) or a string of space-separated values ("3px 3px"). ### marginLeft - type: BoxProps['marginLeft'] - description: Sets margin on the left. Accepts a numeric value (multiplied by spacing unit), predefined spacing value (tiny, small, etc.) a spacing token (SP1, SP2, etc.) or a string of space-separated values ("3px 3px").