@ui5/webcomponents-react
Version:
React Wrapper for UI5 Web Components and additional components
14 lines (13 loc) • 585 B
TypeScript
import type { CSSProperties, HTMLAttributes } from 'react';
export interface CommonProps<T = HTMLElement> extends Omit<HTMLAttributes<T>, 'dangerouslySetInnerHTML'> {
/**
* Element style which will be appended to the most outer element of a component.
* Use this prop carefully, some css properties might break the component.
*/
style?: CSSProperties;
/**
* CSS Class Name which will be appended to the most outer element of a component.
* Use this prop carefully, overwriting CSS rules might break the component.
*/
className?: string;
}