import styled from '@emotion/native';
import { TouchableOpacity } from 'react-native';

export type ActionIntent = 'primary' | 'success' | 'danger';

export const StyledRectButton = styled(TouchableOpacity)<{
  themeIntent: ActionIntent;
}>(({ theme, themeIntent }) => ({
  flex: 1,
  backgroundColor: theme.__hd__.swipeable.colors[themeIntent],
}));
