components
This commit is contained in:
commit
009a214b40
40 changed files with 966 additions and 0 deletions
16
SurveyFrontend/src/components/Account/Account.tsx
Normal file
16
SurveyFrontend/src/components/Account/Account.tsx
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
import React from 'react';
|
||||
import styles from './Account.module.css'
|
||||
|
||||
interface AccountProps {
|
||||
href: string
|
||||
}
|
||||
|
||||
const Account: React.FC<AccountProps> = ({href}) => {
|
||||
return (
|
||||
<a className={styles.account} href={href}>
|
||||
<img src='../../../public/account.svg' alt='Личный кабинет'/>
|
||||
</a>
|
||||
);
|
||||
};
|
||||
|
||||
export default Account;
|
||||
Loading…
Add table
Add a link
Reference in a new issue