UNPKG

@wix/design-system

Version:

@wix/design-system

31 lines (27 loc) 1.12 kB
### dataHook - type: string - description: Applies a data-hook HTML attribute to be used in the tests ### className - type: string - description: Specifies a CSS class name to be appended to the component’s root element. ### skin - type: enum - description: Sets the color of the content area background (`neutral` or `gradient`). To use custom skin color, set it to `custom` and use the `backgroundColor` prop ### backgroundColor - type: string - description: Sets content area background color in HEX code. Can be set with custom colors (from WSR design system color palette) ### contentOutline - type: enum - description: Sets the content outline as `shadow` (default), `border` or `none` ### height - type: string - description: Adjusts the height of the component or can be set in specific % or px ### width - type: string - description: Sets the width of the component in % or px ### children - type: node - description: Sets the main preview content. Accepts an image, text paragraph or any other custom element ### scrollable - type: bool - description: Enables vertical scroll of the overflowed content *