Skip to content

Commit ed7b161

Browse files
authored
Merge pull request #1014 from db-ui/feat-power-apps-link-component
feat(power apps): link component
2 parents b78cd79 + 1071f72 commit ed7b161

File tree

2 files changed

+22
-2
lines changed

2 files changed

+22
-2
lines changed

build-power-apps/DBUI/DBUI.cdsproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
<ProjectReference Include="..\icon\DBIcon.pcfproj" />
4949
<ProjectReference Include="..\input\DBInput.pcfproj" />
5050
<ProjectReference Include="..\alert\DBAlert.pcfproj" />
51+
<ProjectReference Include="..\link\DBLink.pcfproj" />
5152
</ItemGroup>
5253

5354
<Import Project="$(MSBuildToolsPath)\Microsoft.Common.targets" />

packages/components/src/components/link/link.lite.tsx

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,27 @@ useMetadata({
66
isAttachedToShadowDom: false,
77
component: {
88
// MS Power Apps
9-
includeIcon: false,
10-
properties: []
9+
includeIcon: true,
10+
properties: [
11+
// jscpd:ignore-start
12+
{ name: 'children', type: 'SingleLine.Text' },
13+
{ name: 'href', type: 'SingleLine.URL' },
14+
{ name: 'title', type: 'SingleLine.Text' },
15+
{
16+
name: 'variant',
17+
type: 'Enum',
18+
values: [
19+
{ key: 'Adaptive', name: 'Adaptive', value: 'adaptive' },
20+
{ key: 'Primary', name: 'primary', value: 'primary' },
21+
{
22+
key: 'Inline',
23+
name: 'Inline',
24+
value: 'inline'
25+
}
26+
]
27+
}
28+
// jscpd:ignore-end
29+
]
1130
}
1231
});
1332

0 commit comments

Comments
 (0)