All files / components/card/card-footer card-footer.styled.js

0% Statements 0/13
0% Branches 0/8
0% Functions 0/3
0% Lines 0/8
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23                                             
import styled from 'styled-components'
 
const CardFooterStyled = styled.div`
  border-top: solid 1px #e5edf4;
  background:#ffffff;
  padding: 20px;
  display:flex;
  justify-content:${p=>{
    switch(p.align){
      case 'center':
        return 'center'
      case 'space':
        return 'space-between'
      case 'start':
        return 'flex-start'
      case 'end':
        return 'flex-end'
    }
  }};
`
 
export default CardFooterStyled