compiled icon indicating copy to clipboard operation
compiled copied to clipboard

Support styled-components syntax

Open alexkas1977 opened this issue 3 years ago • 2 comments

Is your feature request related to a problem? Please describe. ```export const ButtonComponent = styled.buttonborder: none; width: 36px; height: 36px; background-color: rgba(255, 255, 255, 0); cursor: ${({ disabled}) => (disabled ? 'not-allowed' : 'pointer')}; ${({ styles }) => (styles ? styles : '')};

**Describe the solution you'd like**
support non-property based props resolving  ${({ styles }) => (styles ? styles : '')}

alexkas1977 avatar Aug 02 '21 11:08 alexkas1977

Hi @alexkas1977, thanks for raising this. We'll look into it along with #390 , which is currently in progress

pancaspe87 avatar Aug 04 '21 00:08 pancaspe87

Hi @alexkas1977, thanks for raising this. We'll look into it along with #390 , which is currently in progress

I believe, #390 is about the same Just, please, add possibility to resolve to more than one property or empty string

alexkas1977 avatar Aug 05 '21 14:08 alexkas1977