This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Children, createContext, useContext, type ReactNode } from "react"; | |
const dialogContext = createContext<Record<string, any>>({}); | |
type DialogProps = { | |
isOpen?: boolean; | |
children: any; | |
onClose?: () => void; | |
}; | |
export default function Dialog({ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Los orphan branches (o ramas huerfanas), permiten generar una rama del proyecto sin relacion directa con la ramas padres | |
* iniciando desde 0 inclusive el historial de commits, en caso de que este no quiera ser compartido | |
* este proceso puede usarse cuando 2 proyectos inician de forma independiente , o se busca comaprtir ciertas secciones de uno | |
* sin comartir el historial peor se busca unir despues a la rama principal | |
*/ | |
//PASOS | |
//1. crear un orpahn branch |