mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-11-20 04:14:12 +01:00
19 lines
390 B
TypeScript
19 lines
390 B
TypeScript
import { Flex, FlexProps } from '@radix-ui/themes';
|
|||
|
|
import { Ad, AdType } from './Ad';
|
||
|
|
|
||
|
|
export function AdMidSectionNarrowOnly(props: FlexProps) {
|
||
|
|
return (
|
||
|
|
<Flex
|
||
|
|
justify="center"
|
||
|
|
py="4"
|
||
|
|
gap="4"
|
||
|
|
display={{
|
||
|
|
initial: 'flex',
|
||
|
|
sm: 'none',
|
||
|
|
}}
|
||
|
|
{...props}
|
||
|
|
>
|
||
|
|
<Ad type={AdType.MediumRectangleHorizontalPurple} />
|
||
|
|
</Flex>
|
||
|
|
);
|
||
|
|
}
|