💄 Style Navlink, primary buttons and headings
This commit is contained in:
1 parent
13cc0d92a2
commit
f775446224
9 files changed
+82
-23
No files matched your search
@@ -15,6 +15,7 @@ export const UserList = () => {
|
||||
const users = showAll ? allUsers : allUsers.filter((u) => activeUserFilter(u));
|
||||
return (
|
||||
<div>
|
||||
<h2>Folk</h2>
|
||||
<button type="button" onClick={() => setShowAll(!showAll)}>
|
||||
{showAll ? "Skjul gamliser" : "Vis alle"}
|
||||
</button>
|
||||
@@ -28,7 +29,9 @@ export const UserList = () => {
|
||||
))}
|
||||
</ul>
|
||||
<br />
|
||||
<Link to="/users/create">Opprett ny</Link>
|
||||
<Link to="/users/create" className="btn-primary">
|
||||
Opprett ny
|
||||
</Link>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
Reference in new issue
Block a user