mirror of
https://github.com/vercel/commerce.git
synced 2025-09-07 16:30:17 +00:00
Order Confirmation
This commit is contained in:
@@ -1,20 +1,25 @@
|
||||
import { VariantProps, tv } from 'tailwind-variants';
|
||||
|
||||
const heading = tv({
|
||||
base: [''],
|
||||
variants: {
|
||||
size: {
|
||||
sm: 'text-heading-sm',
|
||||
md: 'text-heading-md',
|
||||
lg: 'text-heading-lg'
|
||||
const heading = tv(
|
||||
{
|
||||
base: [''],
|
||||
variants: {
|
||||
size: {
|
||||
sm: 'text-heading-sm',
|
||||
md: 'text-heading-md',
|
||||
lg: 'text-heading-lg'
|
||||
}
|
||||
},
|
||||
defaultVariants: {
|
||||
size: 'md'
|
||||
}
|
||||
},
|
||||
defaultVariants: {
|
||||
size: 'md'
|
||||
{
|
||||
twMerge: false
|
||||
}
|
||||
});
|
||||
);
|
||||
|
||||
interface HeadingProps extends VariantProps<typeof heading> {
|
||||
export interface HeadingProps extends VariantProps<typeof heading> {
|
||||
className?: string;
|
||||
children: React.ReactNode;
|
||||
as?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'span' | 'p';
|
||||
|
Reference in New Issue
Block a user