How to use the @mui-treasury/styles/shadow.useSoftRiseShadowStyles 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 / shadow / softRise / SoftRiseShadow.js View on Github external
const SoftRiseShadow = () => {
  const styles = useSoftRiseShadowStyles({
    // inactive: true, // add this line to disable hover effect
  });
  return ;
};
github siriwatknp / mui-treasury / src / docs / components / card / post / PostCard.js View on Github external
const PostCard = () => {
  const cardStyles = useStyles();
  const mediaStyles = useSlopeCardMediaStyles();
  const shadowStyles = useSoftRiseShadowStyles();
  const textCardContentStyles = useTextCardContent01Styles();
  return (
github siriwatknp / mui-treasury / website / src / docs / components / card / elevatedHeader / ElevatedHeaderCard.js View on Github external
const ElevatedHeaderCard = () => {
  const classes = useStyles();
  const cardHeaderStyles = useContainedCardHeaderStyles();
  const cardShadowStyles = useSoftRiseShadowStyles({ inactive: true });
  const cardHeaderShadowStyles = useFadedShadowStyles();
  return (
    
      
      
        
            
              Dessert
              Fat (g)
              Price ($)<table>
          </table>