Files
houhaoyu 6e6d50c142 houhaoyu@huawei.com
Signed-off-by: houhaoyu <houhaoyu@huawei.com>
Change-Id: Ie6bc8a1f0c89097de10ec2befecde0e319ea336d
2021-11-23 15:58:32 +08:00

64 lines
1.5 KiB
Plaintext

/*
* Copyright (c) 2021 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
@Component
struct NamespaceComponent1 {
@Link NamespaceComponent1Link1?: any
@Link NamespaceComponent1Link2?: number
@Link NamespaceComponent1Link3?: boolean
@Link NamespaceComponent1Link4?: string
private myVar: number = 0
private myVar2: number
build() {
}
}
@Component
struct NamespaceComponent2 {
@Link NamespaceComponent2Link1?: any
@Link NamespaceComponent2Link2?: number
@Link NamespaceComponent2Link3?: boolean
@Link NamespaceComponent2Link4?: string
private myVar: number = 0
private myVar2: number
build() {
}
}
@Component
struct NamespaceComponent3 {
@Link NamespaceComponent3Link1?: any
@Link NamespaceComponent3Link2?: number
@Link NamespaceComponent3Link3?: boolean
@Link NamespaceComponent3Link4?: string
private myVar: number = 0
private myVar2: number
build() {
}
}
export { NamespaceComponent1, NamespaceComponent2 }
export default NamespaceComponent3