import { Story, Meta } from '@storybook/react'; import { TextWithBG } from './text-with-bg'; import type { TextWithBGProps } from './text-with-bg'; export default { component: TextWithBG, title: 'Tags and Indicators/Networks', argTypes: { content: { description: 'Textual content to be displayed.' }, backgroundColor: { description: 'Background color of the component.', control: { type: 'color' } } } } as Meta; const Template: Story = (args) => ; export const HTTPS = Template.bind({}); HTTPS.args = { content: 'HTTPS', backgroundColor: '#4DC9F6' }; export const HTTP = Template.bind({}); HTTP.args = { content: 'HTTP', backgroundColor: '#0099C6' }; export const SSH = Template.bind({}); SSH.args = { content: 'SSH', backgroundColor: '#109618' }; export const RDP = Template.bind({}); RDP.args = { content: 'RDP', backgroundColor: '#C2185B' }; export const VNC = Template.bind({}); VNC.args = { content: 'VNC', backgroundColor: '#CB5BCB' }; export const SDP = Template.bind({}); SDP.args = { content: 'SDP', backgroundColor: '#F06292' };