0.13.1 • Published 2 months ago

@bolttech/atoms-top-tag-line v0.13.1

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

Top Tag Line Component

The TopTagLine component is a React component designed to display a top tag line with a specific content. It can be used to provide a visually distinctive section title or label.

Table of Contents

Installation

To use the TopTagLine component in your React application, follow these steps:

npm install @bolttech/frontend-foundations @bolttech/atoms-top-tag-line

or

yarn add @bolttech/frontend-foundations @bolttech/atoms-top-tag-line

Once you have the required dependencies installed, you can start using the TopTagLine component in your React application.

Usage

The TopTagLine component provides a simple way to create a top tag line with a specific content. This can be useful for emphasizing a section title or label in your UI.

To use the component, import it and include it in your JSX:

import React from 'react';
import {TopTagLine} from '@bolttech/atoms-top-tag-line';
import {bolttechTheme, BolttechThemeProvider} from "@bolttech/frontend-foundations"; // You can import your TopTagLine component here

function App() {
  return (
    <BolttechThemeProvider theme={bolttechTheme}>
      <TopTagLine content="Featured Section" dataTestId="featured-section"/>
    </BolttechThemeProvider>
  );
}

export default App;

Props

The TopTagLine component accepts the following props:

PropTypeDescription
contentstringThe text content to display in the top tag line.
dataTestIdstringThe data-testid attribute for testing purposes.

Example

Here's an example of using the TopTagLine component:

<TopTagLine content="Featured Section" dataTestId="featured-section" />

This will render a top tag line with the text "Featured Section".

Contributing

Contributions to the TopTagLine component are welcome. If you find any issues or have suggestions for improvements, please feel free to open an issue or submit a pull request on the project's GitHub repository.

0.13.1

2 months ago

0.0.1

4 months ago

0.10.0

9 months ago

0.3.0

10 months ago

0.11.0

8 months ago

0.9.0

9 months ago

0.12.0

6 months ago

0.8.0

9 months ago

0.13.0

6 months ago

0.12.1

6 months ago

0.5.0

10 months ago

0.4.0

10 months ago

0.7.0

10 months ago

0.6.0

10 months ago

0.2.4

10 months ago

0.2.3

11 months ago

0.2.1

11 months ago

0.2.0

11 months ago

0.1.4

11 months ago

0.2.2

11 months ago

0.1.3

12 months ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago