Docs/Comments to Footer component
This commit is contained in:
parent
dbeeb609b3
commit
cf6c8cd34c
1 changed files with 8 additions and 0 deletions
|
@ -1,5 +1,13 @@
|
|||
//info: Footer component to display the footer of a page where the buttons are placed
|
||||
import React from "react";
|
||||
|
||||
/**
|
||||
* Footer component.
|
||||
*
|
||||
* @param {Object} props - The component props.
|
||||
* @param {React.ReactNode} props.children - The children elements to render inside the footer (buttons).
|
||||
* @returns {JSX.Element} The rendered footer component.
|
||||
*/
|
||||
function Footer({ children }: { children: React.ReactNode }): JSX.Element {
|
||||
return (
|
||||
<footer className="bg-white">
|
||||
|
|
Loading…
Reference in a new issue