How to use @hig/avatar - 3 common examples

To help you get started, we’ve selected a few @hig/avatar 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 Autodesk / hig / packages / top-nav / src / presenters / ProfileButtonPresenter.js View on Github external
export default function ProfileButtonPresenter({
  avatarImage,
  avatarName,
  onClick
}) {
  return (
    <button type="button">
      
    </button>
  );
}
github Autodesk / hig / packages / profile-flyout / src / presenters / ProfileButtonPresenter.js View on Github external
export default function ProfileButtonPresenter({
  avatarImage,
  avatarName,
  onClick
}) {
  const styles = stylesheet();

  return (
    <button type="button">
      
    </button>
  );
}
github Autodesk / hig / packages / notifications-flyout / src / __fixtures__ / createSampleNotifications.js View on Github external
const updatedDate2 = baseDate.setHours(baseDate.getHours() - 2);
  const updatedDate3 = baseDate.setHours(baseDate.getHours() - 24);
  const updatedDate4 = baseDate.setMinutes(baseDate.getMinutes() - 20);

  return [
    {
      id: "featured",
      featured: true,
      unread: true,
      onDismiss: action("Notification dismissed"),
      timestamp: ,
      image: (
        
      ),
      content: (
        <div>
          <p>
            <b>Your subscription expires May 5</b>
          </p>
          <p>
            Maya
            <br>
            Media &amp; Entertainment Collection
            <br>
            Product Design Collection
            <br>2 more
          </p>
          <p></p></div>

@hig/avatar

HIG Avatar

Apache-2.0
Latest version published 2 years ago

Package Health Score

54 / 100
Full package analysis

Similar packages