Skip to content
This repository was archived by the owner on Feb 6, 2021. It is now read-only.
This repository was archived by the owner on Feb 6, 2021. It is now read-only.

登録できるアカウントが決まったらUserDetailsPage.tsxのtype等を変更する #38

@unios103

Description

@unios103

↓ ここら辺

type accountType = {
  github: string;
  twitter: string;
  mailAddress: string;
};

type accountTypeOfElement = {
  github: JSX.Element;
  twitter: JSX.Element;
  mailAddress: JSX.Element;
};

const accountsIcons: accountTypeOfElement = {
  twitter: <Twitter fontSize="small" />,
  github: <GitHub fontSize="small" />,
  mailAddress: <Mail fontSize="small" />,
};

const url: accountType = {
  twitter: "https://twitter.com/",
  github: "https://github.com/",
  mailAddress: "mailto:",
};

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions