Skip to content

A plugin marketplace for GitHub Copilot and other AI agents that provides Power Platform development plugins, including reusable skills, agents, and commands for building and deploying solutions.

699 B
Raw Blame
import { makeStyles, tokens } from '@fluentui/react-components';
type Props = { pageInput?: Record<string, unknown> };
const rows = [{ name: 'Milo' }, { name: 'Luna' }];
const useStyles = makeStyles({ root: { padding: tokens.spacingHorizontalM } });
// Xrm.Navigation.navigateTo({pageType:"generative",pageId:"help-text"}); stays unchanged: a comment is not a navigation target.
const help = 'Pet names are display data.';
const GeneratedComponent = (props: Props) => {
  const { pageInput } = props;
  void pageInput;
  const styles = useStyles();
  return <div className={styles.root}><p>{help}</p>{rows.map((row) => <p key={row.name}>{row.name}</p>)}</div>;
};
export default GeneratedComponent;