How to use the @mui-treasury/styles/cardMedia.useWideCardMediaStyles 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 / card / engagement / EngagementCard.js View on Github external
const EngagementCard = () => {
  const cardStyles = useStyles();
  const wideCardMediaStyles = useWideCardMediaStyles();
  const fadeShadowStyles = useFadedShadowStyles();
  const textCardContentStyles = useTextCardContent01Styles();
  return (
    
      
        classes={wideCardMediaStyles}
        image={MOCK.natureImg}
      />
github siriwatknp / mui-treasury / src / docs / components / cardMedia / wide / WideCardMedia.js View on Github external
const WideCardMedia = () => {
  const styles = useWideCardMediaStyles();
  return (
    
      // image={"src"}
      classes={styles}
    />
  );
};
github siriwatknp / mui-treasury / src / docs / components / card / review / ReviewCard.js View on Github external
const ReviewCard = () => {
  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 / src / docs / components / card / news / NewsCard.js View on Github external
const NewsCard = () =&gt; {
  const styles = useStyles();
  const mediaStyles = useWideCardMediaStyles();
  const textCardContentStyles = useTextCardContent01Styles();
  const shadowStyles = useBouncyShadowStyles();
  return (
    
      
      
        
        <button color="{'primary'}">
          Find Out More </button>