Closed vadimdemedes closed 1 year ago
This is a continuation of https://github.com/vadimdemedes/ink/pull/431, thank you @kosciolek for this contribution!
This PR adds 4 new props to Box: borderTop, borderRight, borderBottom and borderLeft. They are all boolean props and they default to true. They let you control visibility of each border side.
Box
borderTop
borderRight
borderBottom
borderLeft
true
For example, this won't show the left border:
<Box borderStyle="round" borderLeft={false}> <Text>Hello world</Text> </Box>
This is a continuation of https://github.com/vadimdemedes/ink/pull/431, thank you @kosciolek for this contribution!
This PR adds 4 new props to
Box
:borderTop
,borderRight
,borderBottom
andborderLeft
. They are all boolean props and they default totrue
. They let you control visibility of each border side.For example, this won't show the left border: