@@ -46,22 +46,34 @@ export type MaybeArray<T> = T | T[]
46
46
export type BaseBodyAttr = BaseBodyAttributes
47
47
export type BaseHtmlAttr = _HtmlAttributes
48
48
49
- export interface BodyAttr extends Omit < BaseBodyAttr , 'class' > {
49
+ export interface BodyAttr extends Omit < BaseBodyAttr , 'class' | 'style' > {
50
50
/**
51
51
* The class global attribute is a space-separated list of the case-sensitive classes of the element.
52
52
*
53
53
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/class
54
54
*/
55
55
class ?: MaybeArray < string > | Record < string , boolean >
56
+ /**
57
+ * The style attribute contains CSS styling declarations to be applied to the element.
58
+ *
59
+ * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/style
60
+ */
61
+ style ?: MaybeArray < string > | Record < string , ResolvableValue < string > >
56
62
}
57
63
58
- export interface HtmlAttr extends Omit < _HtmlAttributes , 'class' > {
64
+ export interface HtmlAttr extends Omit < _HtmlAttributes , 'class' | 'style' > {
59
65
/**
60
66
* The class global attribute is a space-separated list of the case-sensitive classes of the element.
61
67
*
62
68
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/class
63
69
*/
64
70
class ?: MaybeArray < string > | Record < string , boolean >
71
+ /**
72
+ * The style attribute contains CSS styling declarations to be applied to the element.
73
+ *
74
+ * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/style
75
+ */
76
+ style ?: MaybeArray < string > | Record < string , ResolvableValue < string > >
65
77
}
66
78
67
79
export interface BaseMeta extends Omit < _Meta , 'content' > {
0 commit comments