Starting a button component
This commit is contained in:
		
							parent
							
								
									6847f6e742
								
							
						
					
					
						commit
						bfa21552be
					
				
					 3 changed files with 3 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -11,7 +11,7 @@ function App() {
 | 
			
		|||
    <div className="App">
 | 
			
		||||
      <h1 id="title">{data.title}</h1>
 | 
			
		||||
      <div id="container">
 | 
			
		||||
        <AwesomeButton className="roots" type="primary">Facebook</AwesomeButton>
 | 
			
		||||
        
 | 
			
		||||
        {/*{data.links.map((rootDetail, index)=>{
 | 
			
		||||
          if(rootDetail.type == "facebook") {
 | 
			
		||||
            res = <AwesomeButton className="roots"></AwesomeButton>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										2
									
								
								src/button/Button.jsx
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								src/button/Button.jsx
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,2 @@
 | 
			
		|||
import React from "react";
 | 
			
		||||
import "./button.css";
 | 
			
		||||
							
								
								
									
										0
									
								
								src/button/button.css
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										0
									
								
								src/button/button.css
									
										
									
									
									
										Normal file
									
								
							
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue