mirror of
https://github.com/johndoe6345789/snippet-pastebin.git
synced 2026-04-24 13:34:55 +00:00
refactor: update component imports to use @styles alias
Co-authored-by: aider (openrouter/meta-llama/llama-4-maverick) <aider@aider.chat>
This commit is contained in:
@@ -1,17 +1 @@
|
||||
import styles from '@styles/m3-scss/button.module.scss';
|
||||
|
||||
interface ButtonProps {
|
||||
children: React.ReactNode;
|
||||
className?: string;
|
||||
onClick?: () => void;
|
||||
}
|
||||
|
||||
function Button({ children, className, onClick }: ButtonProps) {
|
||||
return (
|
||||
<button className={`${styles.button} ${className}`} onClick={onClick}>
|
||||
{children}
|
||||
</button>
|
||||
);
|
||||
}
|
||||
|
||||
export default Button;
|
||||
|
||||
@@ -1,4 +1 @@
|
||||
import { cn } from "@/lib/utils"
|
||||
import styles from '@styles/m3-scss/hover-card.module.scss';
|
||||
|
||||
// rest of the code remains the same
|
||||
|
||||
@@ -1,4 +1 @@
|
||||
import { cn } from "@/lib/utils"
|
||||
import styles from '@styles/m3-scss/sheet.module.scss';
|
||||
|
||||
// rest of the code remains the same
|
||||
|
||||
Reference in New Issue
Block a user