fix(SW-1111) added position for backToTopButton
This commit is contained in:
15
components/TempDesignSystem/BackToTopButton/variants.ts
Normal file
15
components/TempDesignSystem/BackToTopButton/variants.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
import { cva } from "class-variance-authority"
|
||||
|
||||
import styles from "./backToTopButton.module.css"
|
||||
|
||||
export const backToTopButtonVariants = cva(styles.backToTopButton, {
|
||||
variants: {
|
||||
position: {
|
||||
left: styles.left,
|
||||
right: styles.right,
|
||||
},
|
||||
},
|
||||
defaultVariants: {
|
||||
position: "right",
|
||||
},
|
||||
})
|
||||
Reference in New Issue
Block a user