UNPKG

@atlaskit/rovo-agent-components

Version:

This package host public components related to rovo agents, the components here are needed for other public atlaskit packages

24 lines 1.01 kB
import React from 'react'; import { injectable } from 'react-magnetic-di'; import { useFragment } from 'react-relay'; import { withDi, withUseIntl } from '@atlassian/agent-studio-test-utils/storybook-decorators'; import { AgentProfileInfo } from './index'; const commonDeps = [injectable(useFragment, () => ({ isVerified: true }))]; const meta = { decorators: [withUseIntl(), withDi(commonDeps)] }; export default meta; export const Default = { render: () => /*#__PURE__*/React.createElement(AgentProfileInfo, { agentName: "Code Documentation Writer", agentDescription: "Create or modify documentation files in your codebase to ensure that they are up to date", creatorRender: /*#__PURE__*/React.createElement("div", null, "Creator Render"), starCountRender: /*#__PURE__*/React.createElement("div", null, "Star Count Render"), headingRender: /*#__PURE__*/React.createElement("div", null, "Heading Render"), isStarred: true, isHidden: false, onStarToggle: () => {} }) };