1.0.2 • Published 1 year ago

sm-footer v1.0.2

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

sm-footer

Version License

This package provides a customizable footer component for React applications, allowing easy integration of footer sections with various options.

Installation

You can install sm-footer via npm or yarn:

npm install sm-footer
# or
yarn add sm-footer

Usage

import React from "react";
import Footer from "sm-footer";
import jsonData from "./path_to_your_json_data.json";

const MyComponent = () => {
    return (
        <Footer jsondata={jsonData} />
    );
}

export default MyComponent;

Props

  • jsondata: JSON object containing the configuration for the footer component.

Example JSON Data

{
    "id": "sm-footer",
    "theme": "light",
    "footerTitle": "Footer Title",
    "footerDesc": "Lorem ipsum dolor sit amet, consectetur adipiscing elit.",
    "linksTitle_1": "Links Title 1",
    "links_1": ["About Us", "Contact Us", "Terms of Service"],
    "linksHref_1": ["#", "#", "#"],
    "linksTitle_2": "Links Title 2",
    "links_2": ["Privacy Policy", "FAQ", "Support"],
    "linksHref_2": ["#", "#", "#"],
    "contactTitle": "Contact Us",
    "copyrightLeft": "Copyright © 2022 Your Company",
    "copyrightRight": "All rights reserved."
}

License

This project is licensed under the ISC License. See the LICENSE file below :

ISC License

Copyright (c) 2024, Shivam Makwana

Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago