-
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.
feature43-menuForFivePrimitives (#60)
* add graphic content * create menu for primitives
- Loading branch information
1 parent
735bb6d
commit 47d62ec
Showing
8 changed files
with
42 additions
and
755 deletions.
There are no files selected for viewing
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import React from "react"; | ||
import { | ||
BeakerIcon | ||
} from "@heroicons/react/outline"; | ||
import point from '../../assets/icons/point.png'; | ||
import line from '../../assets/icons/line.png'; | ||
import circle from '../../assets/icons/circle.jpeg'; | ||
import angle from '../../assets/icons/angle.webp'; | ||
|
||
const PrimitivesMenu = () => { | ||
return( | ||
<div className="dropdown"> | ||
<button className="btn btn-primary"><BeakerIcon className="w-6" /></button> | ||
<ul className="dropdown-content menu p-2 shadow bg-base-100 rounded-box w-52"> | ||
<li><a><img src={point.src} className='w-4 mr-2' alt="point" /> Punto</a></li> | ||
<li><a><img src={line.src} className='w-4 mr-2' alt="line" /> Linea</a></li> | ||
<li><a><img src={circle.src} className='w-4 mr-2' alt="circle" /> Circulo</a></li> | ||
<li><a><img src={angle.src} className='w-4 mr-2' alt="angle" /> Angulo</a></li> | ||
</ul> | ||
</div> | ||
) | ||
} | ||
|
||
export default PrimitivesMenu; |
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