globalbrain / sefirot

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

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

Open NozomuIkuta opened 2 months ago

NozomuIkuta commented 2 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 2 months ago

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

interface Props {
  variant: 'default' | 'clear'
}
NozomuIkuta commented 1 month ago

@kiaking

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

kiaking commented 1 month ago

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