@workday/canvas-kit-react
Version:
The parent module that contains all Workday Canvas Kit React components
46 lines • 1.14 kB
TypeScript
export declare const usePillModel: (<TT_Special_Generic>(config?: (Partial<{
/**
* Used to disable a pill and apply the correct styles.
*/
disabled: boolean;
/**
* ID used to add accessibility labels to pill elements.
* @default `useUniqueId()`
*/
id: string;
}> & {} & {}) | undefined) => {
state: {
id: string;
/**
* Used to disable a pill and apply the correct styles.
*/
disabled: boolean;
};
events: {};
}) & import("@workday/canvas-kit-react/common").ModelExtras<{
/**
* Used to disable a pill and apply the correct styles.
*/
disabled: boolean;
/**
* ID used to add accessibility labels to pill elements.
* @default `useUniqueId()`
*/
id: string;
}, {}, {
id: string;
/**
* Used to disable a pill and apply the correct styles.
*/
disabled: boolean;
}, {}, {
state: {
id: string;
/**
* Used to disable a pill and apply the correct styles.
*/
disabled: boolean;
};
events: {};
}>;
//# sourceMappingURL=usePillModel.d.ts.map