feat: Add components required for estimates (#4690)

* Add sortable, radio and typography components

* Remove stray css classes

* Prevent drag of items from other draggable

* Minor cleanup

* Update yarn.lock

* Remove radio input component as it was build on
headless ui v2.0.0 and now we are using v1.7.0

* Fix build errors

* Update dependencies in use memo.
This commit is contained in:
Satish Gandham 2024-06-04 14:17:35 +05:30 committed by GitHub
parent 77b73dc032
commit 188f8ff83f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 196 additions and 4 deletions

View file

@ -0,0 +1 @@
export * from "./sub-heading";

View file

@ -0,0 +1,15 @@
import React from "react";
import { cn } from "../../helpers";
type Props = {
children: React.ReactNode;
className?: string;
noMargin?: boolean;
};
const SubHeading = ({ children, className, noMargin }: Props) => (
<h3 className={cn("text-xl font-medium text-custom-text-200 block leading-7", !noMargin && "mb-2", className)}>
{children}
</h3>
);
export { SubHeading };