my-gitcontri-layout
v1.0.12
Published
![npm](https://img.shields.io/npm/v/my-gitcontri-layout) ![License](https://img.shields.io/npm/l/my-gitcontri-layout)
Downloads
737
Readme
my-gitcontri-layout
A flexible and reusable layout component for React and Next.js applications, developed in TypeScript. This package allows you to easily render a string inside a structured HTML layout, providing a visually appealing and consistent presentation for your content.
DEMO
Table of Contents
Installation
To install your package, use npm:
npm install my-gitcontri-layout
or
yarn add my-gitcontri-layout
Usage
To use the my-gitcontri-layout component in your React or Next.js application, import it and pass a string to the message prop. The component will render the string wrapped in a series of HTML tags.
import React from 'react';
import MyGitcontriLayout from 'my-gitcontri-layout';
const App = () => {
return (
<div>
<MyGitcontriLayout message="HELLO" />
</div>
);
};
export default App;
Supported Props
| Prop | Type | Required | Description |
|------------|-----|-----|--------------|
| message | string
| Yes | The string to be rendered in the layout. |
Contributing
Contributions are welcome! Please open an issue or submit a pull request for any enhancements or bug fixes.
License
This project is licensed under the MIT License - see the LICENSE file for details.