How to use the @mui-treasury/styles/cardMedia.useCoverCardMediaStyles 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 / src / docs / components / cardMedia / cover / CoverCardMedia.js View on Github external
const CoverCardMedia = () => {
  const styles = useCoverCardMediaStyles();
  return (
    
      
        // image={"src"}
        classes={styles}
      />
      
        <h3>Placeholder</h3>
        <p>To show that the image is a cover.</p>
      
    
  );
};
github siriwatknp / mui-treasury / website / src / docs / components / card / news2 / NewsCard2.js View on Github external
const NewsCard2 = () =&gt; {
  const styles = useStyles();
  const mediaStyles = useCoverCardMediaStyles();
  const shadowStyles = useLightTopShadowStyles();
  return (
    
      
      
        
          
            <h1>Space</h1>