Skip to content

Commit b20496e

Browse files
committed
Add option to select single resource in group selector
1 parent 25be69e commit b20496e

File tree

8 files changed

+433
-128
lines changed

8 files changed

+433
-128
lines changed
Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
1+
import { cn } from "@utils/helpers";
12
import * as React from "react";
23

34
type Props = {
45
children: React.ReactNode;
6+
className?: string;
57
};
68

7-
export const DropdownInfoText = ({ children }: Props) => {
9+
export const DropdownInfoText = ({ children, className }: Props) => {
810
return (
9-
<div className={"text-center pt-2 mb-6 text-nb-gray-400"}>{children}</div>
11+
<div className={cn("text-center pt-2 mb-6 text-nb-gray-400", className)}>
12+
{children}
13+
</div>
1014
);
1115
};

0 commit comments

Comments
 (0)