react-mops icon indicating copy to clipboard operation
react-mops copied to clipboard

add props: maxWidth, minWidth, maxHeight, minHeight

Open pawelkosmicki opened this issue 6 years ago • 3 comments

Will it be possible to add these props: maxWidth, minWidth, maxHeight, minHeight to a component?

pawelkosmicki avatar Oct 24 '19 20:10 pawelkosmicki

These are planned but right now I have a different focus. I will add them in v2.

pixelass avatar Oct 25 '19 09:10 pixelass

@pixelass Thanks for the quick reply. Are you planning to release v2 in the next couple of weeks?

pawelkosmicki avatar Oct 25 '19 10:10 pawelkosmicki

I am trying to release it at the end of this month. I might release a few beta versions since I'm still missing some features.

v2 allows building custom logic with hooks, so adding custom behavior will be a lot easier. So even if min/max is not available it could be added with a custom hook.

pixelass avatar Oct 25 '19 12:10 pixelass