How to use the @uifabric/fluent-theme.MotionDurations.duration2 function in @uifabric/fluent-theme

To help you get started, we’ve selected a few @uifabric/fluent-theme 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 OfficeDev / office-ui-fabric-react / apps / fabric-website / src / pages / HomePage / HomePage.styles.ts View on Github external
}
      }
    ],

    linkIcon: [
      classNames.linkIcon,
      {
        marginRight: 16
      }
    ],

    linkText: [
      classNames.linkText,
      {
        borderBottom: '1px solid transparent',
        transition: `border-color ${MotionDurations.duration2} ${MotionTimings.decelerate}`
      }
    ],

    illustration: [
      classNames.illustration,
      {
        selectors: {
          img: {
            maxWidth: '100%'
          }
        }
      }
    ]
  };
};