import React from 'react';
import { KolBadge, KolHeading } from '@public-ui/react-v19';
import type { FC } from 'react';
import { SampleDescription } from '../SampleDescription';
export const HeadingBadged: FC = () => (
<>
<SampleDescription>
<p>
This sample shows KolHeading with its different levels and content provided using the export slot instead of the <code>_label</code>-property.
</p>
</SampleDescription>
<div className="grid gap-4">
<KolHeading _label="" _level={1}>
<span slot="expert">
A heading with a <KolBadge _label="Label"></KolBadge>
</span>
</KolHeading>
<KolHeading _label="" _level={2}>
<span slot="expert">
A heading with a <KolBadge _color="#86ffc6" _label="Label"></KolBadge>
</span>
</KolHeading>
<KolHeading _label="" _level={3}>
<span slot="expert">
A heading with a <KolBadge _color="#06539e" _label="Label"></KolBadge>
</span>
</KolHeading>
<KolHeading _label="" _level={4}>
<span slot="expert">
A heading with a <KolBadge _color="#ae0000" _label="Label"></KolBadge>
</span>
</KolHeading>
<KolHeading _label="" _level={5}>
<span slot="expert">
A heading with a <KolBadge _color="#8b008b" _label="Label"></KolBadge>
</span>
</KolHeading>
<KolHeading _label="" _level={6}>
<span slot="expert">
A heading with a <KolBadge _color="#ffc0cb" _label="Label"></KolBadge>
</span>
</KolHeading>
</div>
</>
);