@workday/canvas-kit-preview-react
Version:
Canvas Kit Preview is made up of components that have the full design and a11y review, are part of the DS ecosystem and are approved for use in product. The API's could be subject to change, but not without strong communication and migration strategies.
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