Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
JustifySelfProps &
MarginProps &
MaxWidthProps &
MaxHeightProps &
MinHeightProps &
MinWidthProps &
OpacityProps &
OverflowProps &
PaddingProps &
TextAlignProps &
WidthProps &
PositionSetProps &
FlexItemSetProps &
ComponentProps<'div'> & { as?: any };
const styleProps = compose(
border,
boxShadow,
backgroundColor,
textColor,
display,
height,
justifySelf,
margin,
maxHeight,
maxWidth,
minHeight,
minWidth,
opacity,
overflow,
padding,
textAlign,
import styled from 'styled-components';
import css from '@styled-system/css';
import { margin, MarginProps, padding, PaddingProps, variant, compose } from '@modulz/radix-system';
import themeGet from '@styled-system/theme-get';
type GhostButtonProps = MarginProps &
PaddingProps & {
isActive?: Boolean;
};
const styleProps = compose(
margin,
padding
);
export const GhostButton = styled.button(
props =>
css({
appearance: 'none',
backgroundColor: 'transparent',
border: 'none',
borderRadius: 9999,
color: 'gray800',
display: 'inline-flex',
flexShrink: 0,
alignItems: 'center',
fontFamily: 'normal',