import { Stack, Text } from "@fluentui/react"; import * as React from "react"; import * as ViewModels from "../../../../Contracts/ViewModels"; export interface GlobalSecondaryIndexTargetComponentProps { collection: ViewModels.Collection; } export const GlobalSecondaryIndexTargetComponent: React.FC = ({ collection, }) => { const globalSecondaryIndexDefinition = collection?.materializedViewDefinition(); const textHeadingStyle = { root: { fontWeight: "600", fontSize: 16 }, }; const valueBoxStyle = { root: { backgroundColor: "#f3f3f3", padding: "5px 10px", borderRadius: "4px", }, }; return ( Global Secondary Index Settings Source container {globalSecondaryIndexDefinition?.sourceCollectionId} Global secondary index definition {globalSecondaryIndexDefinition?.definition} ); };