0.18.2 • Published 2 months ago

@bolttech/divider v0.18.2

Weekly downloads
-
License
-
Repository
-
Last release
2 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.18.2

2 months ago

0.18.1

4 months ago

0.0.1

4 months ago

0.11.0

9 months ago

0.13.0

9 months ago

0.14.0

9 months ago

0.15.0

8 months ago

0.16.0

8 months ago

0.17.0

6 months ago

0.18.0

6 months ago

0.17.1

6 months ago

0.10.0

9 months ago

0.9.0

10 months ago

0.8.0

10 months ago

0.5.3

10 months ago

0.7.0

10 months ago

0.6.0

10 months ago

0.5.2

11 months ago

0.5.1

11 months ago

0.5.0

11 months ago

0.3.2

12 months ago

0.4.0

11 months ago

0.3.3

12 months ago

0.3.0

1 year ago

0.2.1

1 year ago

0.2.0

1 year ago

0.2.3

1 year ago

0.3.1

1 year ago

0.2.2

1 year ago

0.2.4

1 year ago

0.1.7

1 year ago

0.1.6

1 year ago

0.1.5

1 year ago

0.1.4

1 year ago

0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago