globalbrain / sefirot

Global Brain Design System.
https://sefirot.globalbrains.com
MIT License
150 stars 12 forks source link

[Textarea] Add a prop to make borderless and padding-less #532

Open nozomuikuta opened 6 months ago

nozomuikuta commented 6 months ago

We came to have a usecase where textarea and its submit button are both inside a bordered box. So, we have to hide textarea's own border and remove all padding around it.

kiaking commented 6 months ago

Maybe... :variant prop might be good name...?

interface Props {
  variant: 'default' | 'clear'
}
nozomuikuta commented 6 months ago

@kiaking

Can we close this issue or should we implement this feature regardless of changes on our roadmap?

kiaking commented 6 months ago

Let's keep this. It is still useful in various places 👀