1/* 2 * Copyright (c) 2023-2023 Huawei Device Co., Ltd. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15 16/** 17 * Declare Component ProgressButton 18 * @syscap SystemCapability.ArkUI.ArkUI.Full 19 * @since 10 20 */ 21@Component 22export declare struct ProgressButton { 23 /** 24 * Sets the ProgressButton progress. 25 * @type { number }. 26 * @syscap SystemCapability.ArkUI.ArkUI.Full 27 * @since 10 28 */ 29 @Prop progress: number; 30 31 /** 32 * Sets the ProgressButton content. 33 * @type { string }. 34 * @syscap SystemCapability.ArkUI.ArkUI.Full 35 * @since 10 36 */ 37 @Prop content: string; 38 39 /** 40 * Sets the ProgressButton progressButtonWidth. 41 * @type { Length }. 42 * @syscap SystemCapability.ArkUI.ArkUI.Full 43 * @since 10 44 */ 45 progressButtonWidth?: Length; 46 47 /** 48 * Sets the ProgressButton clickCallback. 49 * @since 10 50 */ 51 clickCallback: () => void; 52 53 /** 54 * Sets the ProgressButton enable state. 55 * @type { boolean }. 56 * @syscap SystemCapability.ArkUI.ArkUI.Full 57 * @since 10 58 */ 59 @Prop enable: boolean; 60}