How to use the @shoutem/ui.defaultThemeVariables.SmallGutter function in @shoutem/ui

To help you get started, we’ve selected a few @shoutem/ui examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github shoutem / extensions / shoutem.navigation / app / components / TileGrid.js View on Github external
renderRow(row) {
    const { itemText, itemGutter, backgroundImagesEnabled } = this.getLayoutSettings();
    const { style } = this.props;
    const styleName = itemGutter === 'noGutter' ? `${itemText} no-gutter` : `${itemText} ${itemGutter}-gutter`;
    const tileItemStyle = {
      item: {
        ...style.item,
        marginLeft: itemGutter === 'noGutter' ? 0 : defaultThemeVariables.SmallGutter,
      },
      text: style.text,
    };

    const shortcutItems = _.map(row, (shortcut) => {
      return (
        
      );
    });