0.19.1 • Published 9 months ago

@bolttech/divider v0.19.1

Weekly downloads
-
License
-
Repository
-
Last release
9 months ago

Divider Component

A React component for displaying horizontal dividers with optional text.

Installation

Use the package manager npm or yarn to install the component.

npm install @bolttech/frontend-foundations @bolttech/atoms-divider

or

yarn add @bolttech/frontend-foundations @bolttech/atoms-divider

Props

The Divider component accepts the following properties:

PropTypeDescription
dataTestIdstringThe data-testid attribute for testing.
textstringThe text to be displayed in the divider.
withoutPaddingbooleanIf true, the divider won't have padding.

Usage

import React from 'react';
import {Divider} from '@bolttech/atoms-divider';
import {bolttechTheme, BolttechThemeProvider} from "@bolttech/frontend-foundations";

const ExampleComponent = () => {
  return (
    <BolttechThemeProvider theme={bolttechTheme}>
      <Divider
        dataTestId="custom-divider"
        text="Custom Divider"
        withoutPadding={false}
      />
    </BolttechThemeProvider>
  );
};

export default ExampleComponent;

Contributing

Contributions are welcome! For any bug fixes, improvements, or new features, please open an issue or submit a pull request.

Please make sure to follow the code standards and test your changes before submitting.

0.19.0

10 months ago

0.19.1

9 months ago

0.18.2

1 year ago

0.18.1

1 year ago

0.0.1

1 year ago

0.11.0

2 years ago

0.13.0

2 years ago

0.14.0

2 years ago

0.15.0

2 years ago

0.16.0

2 years ago

0.17.0

2 years ago

0.18.0

2 years ago

0.17.1

2 years ago

0.10.0

2 years ago

0.9.0

2 years ago

0.8.0

2 years ago

0.5.3

2 years ago

0.7.0

2 years ago

0.6.0

2 years ago

0.5.2

2 years ago

0.5.1

2 years ago

0.5.0

2 years ago

0.3.2

2 years ago

0.4.0

2 years ago

0.3.3

2 years ago

0.3.0

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.2.3

2 years ago

0.3.1

2 years ago

0.2.2

2 years ago

0.2.4

2 years ago

0.1.7

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago