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

28 lines 1.09 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'; var commonDeps = [injectable(useFragment, function () { return { isVerified: true }; })]; var meta = { decorators: [withUseIntl(), withDi(commonDeps)] }; export default meta; export var Default = { render: function render() { return /*#__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: function onStarToggle() {} }); } };