You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
	
	
		
			
				
					
						
							|  |  |  | import React from 'react'; | 
					
						
							|  |  |  | import styled from 'styled-components'; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | type PillContainerProps = { | 
					
						
							|  |  |  |   children: React.ReactNode; | 
					
						
							|  |  |  |   margin?: string; | 
					
						
							|  |  |  |   padding?: string; | 
					
						
							|  |  |  |   onClick?: () => void; | 
					
						
							|  |  |  | }; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | const StyledPillContainer = styled.div<PillContainerProps>`
 | 
					
						
							|  |  |  |   display: flex; | 
					
						
							|  |  |  |   background: none; | 
					
						
							|  |  |  |   flex-direction: 'row'; | 
					
						
							|  |  |  |   flex-grow: 1; | 
					
						
							|  |  |  |   align-items: center; | 
					
						
							|  |  |  |   padding: ${props => props.padding || ''}; | 
					
						
							|  |  |  |   margin: ${props => props.margin || ''}; | 
					
						
							|  |  |  |   border-radius: 300px; | 
					
						
							|  |  |  |   cursor: pointer; | 
					
						
							|  |  |  |   border: 1px solid ${props => props.theme.colors.pillDividerColor}; | 
					
						
							|  |  |  |   transition: ${props => props.theme.common.animations.defaultDuration}; | 
					
						
							|  |  |  |   &:hover { | 
					
						
							|  |  |  |     background: ${props => props.theme.colors.clickableHovered}; | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  | `;
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | export const PillContainer = (props: PillContainerProps) => { | 
					
						
							|  |  |  |   return <StyledPillContainer {...props}>{props.children}</StyledPillContainer>; | 
					
						
							|  |  |  | }; |