Create Editable chip to edit cells containing chips (#102)

* Create Editable chip to edit cells containing chips

* Fix icons vertical alignment

* Fix linter

* Fix coverage
This commit is contained in:
Charles Bochet
2023-05-05 12:15:41 +02:00
committed by GitHub
parent 9cd57083f1
commit 55eff2b7a2
9 changed files with 168 additions and 30 deletions

View File

@ -1,16 +0,0 @@
import styled from '@emotion/styled';
type OwnProps = {
children: JSX.Element[] | JSX.Element;
};
const StyledContainer = styled.div`
display: flex;
align-items: center;
`;
function HorizontalyAlignedContainer({ children }: OwnProps) {
return <StyledContainer>{children}</StyledContainer>;
}
export default HorizontalyAlignedContainer;

View File

@ -15,6 +15,7 @@ type StyledItemProps = {
const StyledItem = styled.button<StyledItemProps>`
display: flex;
align-items: center;
border: none;
font-size: ${(props) => props.theme.fontSizeMedium};
cursor: pointer;