diff --git a/.changeset/plenty-lamps-pump.md b/.changeset/plenty-lamps-pump.md new file mode 100644 index 0000000000..4ba45ce7ef --- /dev/null +++ b/.changeset/plenty-lamps-pump.md @@ -0,0 +1,5 @@ +--- +'@backstage/plugin-adr': minor +--- + +configurable component header title diff --git a/plugins/adr/src/components/EntityAdrContent/EntityAdrContent.tsx b/plugins/adr/src/components/EntityAdrContent/EntityAdrContent.tsx index 32e353eba9..027da2aa67 100644 --- a/plugins/adr/src/components/EntityAdrContent/EntityAdrContent.tsx +++ b/plugins/adr/src/components/EntityAdrContent/EntityAdrContent.tsx @@ -160,8 +160,9 @@ const AdrListContainer = (props: { export const EntityAdrContent = (props: { contentDecorators?: AdrContentDecorator[]; filePathFilterFn?: AdrFilePathFilterFn; + headerTitle?: string; }) => { - const { contentDecorators, filePathFilterFn } = props; + const { contentDecorators, filePathFilterFn, headerTitle } = props; const classes = useStyles(); const { entity } = useEntity(); const [adrList, setAdrList] = useState([]); @@ -214,7 +215,7 @@ export const EntityAdrContent = (props: { return ( - + {appSupportConfigured && }