Commit 43d8152f by G

a basic card components with cardVariants

parent 5abd2065
import { type BoxProps, type VariantProps, createRestyleComponent } from "@shopify/restyle";
import type { Theme } from "@themes/Theme";
import { cardVariants } from "@themes/Variants";
import Box from "./bases/Box";
const Card = createRestyleComponent<VariantProps<Theme, "cardVariants"> & BoxProps<Theme>, Theme>(
[cardVariants],
Box,
);
export default Card;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment