forked from techno-tim/littlelink-server
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(button): Add Custom Icons for Custom Buttons (#62)
- Loading branch information
1 parent
6035617
commit a8402f7
Showing
7 changed files
with
36 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,20 @@ | ||
import React from 'react'; | ||
import { Route, Routes } from 'react-router-dom'; | ||
import Home from '../Home/Home'; | ||
import { library } from '@fortawesome/fontawesome-svg-core'; | ||
import { fab } from '@fortawesome/free-brands-svg-icons'; | ||
import { fas } from '@fortawesome/free-solid-svg-icons'; | ||
import { far } from '@fortawesome/free-regular-svg-icons'; | ||
|
||
const App = () => ( | ||
<div className="container"> | ||
<Routes> | ||
<Route exact path="/" element={<Home />} /> | ||
</Routes> | ||
</div> | ||
); | ||
function App() { | ||
library.add(fab, fas, far); | ||
return ( | ||
<div className="container"> | ||
<Routes> | ||
<Route exact path="/" element={<Home />} /> | ||
</Routes> | ||
</div> | ||
); | ||
} | ||
|
||
export default App; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters