This file contains hidden or 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
// ensure to install @radix-ui/react-slot as it's important for trickling props to child component. | |
import { Slot } from "@radix-ui/react-slot" | |
/** | |
* @description - Logs input to the console for debugging. Hold SHIFT and Click | |
* @param props | |
* @returns | |
*/ | |
export function DebugClick(props: { | |
disabled?: boolean |
This file contains hidden or 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 React, { useCallback } from "react"; | |
import * as R from "ramda"; | |
import styled from "@emotion/styled"; | |
import { useFormContext } from "react-hook-form"; | |
import { | |
DateTimePickerControl, | |
InputWrapper, | |
PasswordField, | |
RHFSelect, | |
RHFSelectDataSource, |