mirror of
https://github.com/better-auth/better-auth.git
synced 2026-05-28 01:46:45 -05:00
15 lines
284 B
TypeScript
15 lines
284 B
TypeScript
import type { LucideIcon } from "lucide-react-native";
|
|
import { cssInterop } from "nativewind";
|
|
|
|
export function iconWithClassName(icon: LucideIcon) {
|
|
cssInterop(icon, {
|
|
className: {
|
|
target: "style",
|
|
nativeStyleToProp: {
|
|
color: true,
|
|
opacity: true,
|
|
},
|
|
},
|
|
});
|
|
}
|