Skip to content
Snippets Groups Projects
Verified Commit 3a575d40 authored by Defendi Alberto's avatar Defendi Alberto
Browse files

Chose role page.

parent 2d3fee54
No related branches found
No related tags found
2 merge requests!56Refined auth flow and new website pages.,!50Fix/authorization
Chose role.
```
const role = ["operator", "driver",];
<ChoseRole role={role} />
```
\ No newline at end of file
import React, { FC } from 'react';
import Button from '@material-ui/core/Button';
export const ChoseRole: FC = (props) => {
const { role } = props;
return (
<div data-testid="ChoseRole">
{role.map((el) => (
<Button variant="outlined" color="default">
{el}
</Button>
))}
</div>
);
};
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment