[Feature] add borderPositionType Prop in View Component
zzzJH opened this issue · 4 comments
I am... a developer. We are restoring the designer's prototype through the sketch plugin. So we need a controllable borderPositionType. It sets the position of the border.
| -------------------------------------------------------------------------------------------------
Requesting a new feature |
---|
Proposal/Feature-request:
Hum that's not a react native API. Why not just setting the width and height to be 1px bigger?
Hum that's not a react native API. Why not just setting the width and height to be 1px bigger?
In fact, it is not the React Native API, and I know what you mean, I have tried to make it bigger.
But In our design principles, Designer usually uses Inside border in Sketch.
You can see the pictures below, they have very small differences, smaller border radius. The details are important to our designers.
I know it doesn't seem to be necessary, Because, In the Web, we don't distinguish between Inside and Outside borders, but in Sketch, we distinguish.
By the way, my goal is to create a Sketch component library that will increase designer productivity. Therefore, meeting the designer is the first requirement.🤷♂️
I'm sure the difference is indeed very important, but given an "outside" border is usually not something that can be represented in code, I'd say it's better for your designers to specify the design with properties that developers can use?
I'm sure the difference is indeed very important, but given an "outside" border is usually not something that can be represented in code, I'd say it's better for your designers to specify the design with properties that developers can use?
Thank you for your reply. Yeah, it should follow what you said. Now, I have to fork a new package to do that.