How to use the @mui-treasury/styles/gutter.usePushingGutter function in @mui-treasury/styles

To help you get started, we’ve selected a few @mui-treasury/styles 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 siriwatknp / mui-treasury / website / src / docs / components / button / firebase / FirebaseBtn.js View on Github external
const FirebaseButton = () => {
  const styles = useFirebaseBtnStyles();
  const gutterStyles = usePushingGutter();
  return (
    <div>
      <button>Default</button>
      <button color="{'primary'}">
        Contained
      </button>
    </div>
  );
};
github siriwatknp / mui-treasury / website / src / docs / components / arrow / inverted / InvertedArrow.js View on Github external
const InvertedArrow = () =&gt; {
  const classes = useInvertedArrowStyles();
  const gutterStyles = usePushingGutter({ firstExcluded: true, space: 2 });
  return (
    
      <button>
        
      </button>
      <button>
        
      </button>
    
  );
};
github siriwatknp / mui-treasury / src / docs / components / card / review / ReviewCard.js View on Github external
const ReviewCard = () =&gt; {
  const styles = useStyles();
  const mediaStyles = useWideCardMediaStyles();
  const shadowStyles = useFadedShadowStyles();
  const gutterStyles = usePushingGutter({ firstExcluded: true });
  return (
    
      
      
        
          
        
        <h3>Colloseo</h3>
        
          
          <span>Rome</span>
github siriwatknp / mui-treasury / website / src / docs / components / card / review2 / ReviewCard2.js View on Github external
const ReviewCard2 = () =&gt; {
  const styles = useStyles();
  const gutterStyles = usePushingGutter({ space: 1.5 });
  const labelStyles = useLabelIconStyles({ linked: true });
  const flexStyles = useRowFlexStyles();
  return (
    
      
        
          <h3>Aegen magazines </h3>
          
        
        <p>
          Lorem ipsum is placeholder text commonly used in the graphic, print,</p>
github siriwatknp / mui-treasury / src / docs / components / arrow / simple / SimpleArrow.js View on Github external
const SimpleArrow = () =&gt; {
  const classes = useSimpleArrowStyles();
  const gutterStyles = usePushingGutter({ firstExcluded: true, space: 2 });
  return (
    
      <button>
        
      </button>
      <button>
        
      </button>
    
  );
};