1.0.5 • Published 4 years ago
native-x-divider v1.0.5
native-x-divider
This component adds divider between other components
Install
Yarn
yarn add native-x-dividerNPM
npm install native-x-dividerUsage
import { Divider } from 'native-x-divider'
function MyComponent() {
return (
<Stack>
...
<Divider />
...
</Stack>
)
}API
| Property | Default Value | Usage |
|---|---|---|
| vertical?: boolean | false | Show vertical divider, (horizontal by default) |
| color?: string | COLOR.DIVIDER | Any color defined by theme provider |
| size?: string | 'normal' | Valid values: 'normal', 'large', 'x-large' |
Automatic Release
Here is an example of the release type that will be done based on a commit messages:
| Commit message | Release type |
|---|---|
| fix: comment | Patch Release |
| feat: comment | Minor Feature Release |
| perf: comment | Major Feature Release |
| doc: comment | No Release |
| refactor: comment | No Release |
| chore: comment | No Release |