How to use rax-components - 1 common examples

To help you get started, we’ve selected a few rax-components 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 alibaba / rax / templates / template-retail / templates / default / pages / index / components / Redbag / index.js View on Github external
export default function Redbag(props) {
  const dataSource = props.sourceData[0];
  if (!dataSource || !dataSource.appImg) {
    return null;
  }

  const appUrl = dataSource.appUrl;

  return (
    
      <img style="{style.image}">
    
  );
}

rax-components

Base components for Rax.

BSD-3-Clause
Latest version published 6 years ago

Package Health Score

57 / 100
Full package analysis

Popular rax-components functions

Similar packages