1.0.5 • Published 3 years ago

native-x-divider v1.0.5

Weekly downloads
11
License
MIT
Repository
github
Last release
3 years ago

native-x-divider

semantic-release

This component adds divider between other components

Install

Yarn

yarn add native-x-divider

NPM

npm install native-x-divider

Usage

import { Divider } from 'native-x-divider'

function MyComponent() {
  return (
    <Stack>
      ...
      <Divider />
      ...
    </Stack>
  )
}

API

PropertyDefault ValueUsage
vertical?: booleanfalseShow vertical divider, (horizontal by default)
color?: stringCOLOR.DIVIDERAny 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 messageRelease type
fix: commentPatch Release
feat: commentMinor Feature Release
perf: commentMajor Feature Release
doc: commentNo Release
refactor: commentNo Release
chore: commentNo Release