@workday/canvas-kit-react
Version:
The parent module that contains all Workday Canvas Kit React components
42 lines • 1.9 kB
TypeScript
import { StyleFnConfig } from '../buildStyleFns';
import { SystemPropValues } from '../systemProps';
/** style props to set CSS border radius properties
* @deprecated
*/
export type BorderRadiusStyleProps = {
/**
* - sets [CSS border-radius property](https://developer.mozilla.org/en-US/docs/Web/CSS/border-radius)
* - system tokens: `shape`
* @deprecated ⚠️ Please use the `cs` prop with `createStyles` and `createStencil` to apply styles to our components. For more information, view our [Styling docs](https://workday.github.io/canvas-kit/?path=/docs/styling-getting-started-overview--docs).
*/
borderRadius?: SystemPropValues['shape'];
/**
* - sets [CSS border-top-left-radius property](https://developer.mozilla.org/en-US/docs/Web/CSS/border-top-left-radius)
* - system tokens: `shape`
* @deprecated
*/
borderTopLeftRadius?: SystemPropValues['shape'];
/**
* - sets [CSS border-top-right-radius property](https://developer.mozilla.org/en-US/docs/Web/CSS/border-top-right-radius)
* - system tokens: `shape`
* @deprecated
*/
borderTopRightRadius?: SystemPropValues['shape'];
/**
* - sets [CSS border-bottom-left-radius property](https://developer.mozilla.org/en-US/docs/Web/CSS/border-bottom-left-radius)
* - system tokens: `shape`
* @deprecated
*/
borderBottomLeftRadius?: SystemPropValues['shape'];
/**
* - sets [CSS border-bottom-right-radius property](https://developer.mozilla.org/en-US/docs/Web/CSS/border-bottom-right-radius)
* - system tokens: `shape`
* @deprecated
*/
borderBottomRightRadius?: SystemPropValues['shape'];
};
/** @deprecated */
export declare const borderRadiusStyleFnConfigs: StyleFnConfig[];
/** @deprecated */
export declare const borderRadiusFns: import("../buildStyleFns").StyleFns;
//# sourceMappingURL=radius.d.ts.map