Skip to content

Commit 41048b7

Browse files
Fix CI
1 parent 2518bbc commit 41048b7

4 files changed

Lines changed: 51 additions & 112 deletions

File tree

docs/pages/x/api/scheduler/standalone-event.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
{
22
"props": {
3-
"className": { "type": { "name": "union", "description": "func<br>&#124;&nbsp;string" } },
4-
"nativeButton": { "type": { "name": "bool" }, "default": "false" },
53
"onEventDrop": { "type": { "name": "func" } },
6-
"render": { "type": { "name": "union", "description": "element<br>&#124;&nbsp;func" } },
7-
"style": { "type": { "name": "union", "description": "func<br>&#124;&nbsp;object" } },
84
"sx": {
95
"type": {
106
"name": "union",

docs/translations/api-docs/scheduler/standalone-event/standalone-event.json

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,9 @@
11
{
22
"componentDescription": "",
33
"propDescriptions": {
4-
"className": {
5-
"description": "CSS class applied to the element, or a function that returns a class based on the component&#39;s state."
6-
},
7-
"nativeButton": {
8-
"description": "Whether the component renders a native <code>&lt;button&gt;</code> element when replacing it via the <code>render</code> prop. Set to <code>true</code> if the rendered element is a native button."
9-
},
104
"onEventDrop": {
115
"description": "Callback fired when the event is dropped into the Event Calendar."
126
},
13-
"render": {
14-
"description": "Allows you to replace the component&#39;s HTML element with a different tag, or compose it with another component.<br>Accepts a <code>ReactElement</code> or a function that returns the element to render."
15-
},
16-
"style": {
17-
"description": "Style applied to the element, or a function that returns a style object based on the component&#39;s state."
18-
},
197
"sx": {
208
"description": "The system prop that allows defining system overrides as well as additional CSS styles."
219
}

packages/x-scheduler/src/standalone-event/StandaloneEvent.tsx

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,6 @@ StandaloneEvent.propTypes = {
3131
// | These PropTypes are generated from the TypeScript type definitions |
3232
// | To update them edit the TypeScript types and run "pnpm proptypes" |
3333
// ----------------------------------------------------------------------
34-
/**
35-
* CSS class applied to the element, or a function that
36-
* returns a class based on the component's state.
37-
*/
38-
className: PropTypes.oneOfType([PropTypes.func, PropTypes.string]),
3934
data: PropTypes.oneOfType([
4035
PropTypes.shape({
4136
allDay: PropTypes.bool,
@@ -270,29 +265,10 @@ StandaloneEvent.propTypes = {
270265
title: PropTypes.string.isRequired,
271266
}),
272267
]).isRequired,
273-
/**
274-
* Whether the component renders a native `<button>` element when replacing it
275-
* via the `render` prop.
276-
* Set to `true` if the rendered element is a native button.
277-
* @default false
278-
*/
279-
nativeButton: PropTypes.bool,
280268
/**
281269
* Callback fired when the event is dropped into the Event Calendar.
282270
*/
283271
onEventDrop: PropTypes.func,
284-
/**
285-
* Allows you to replace the component's HTML element
286-
* with a different tag, or compose it with another component.
287-
*
288-
* Accepts a `ReactElement` or a function that returns the element to render.
289-
*/
290-
render: PropTypes.oneOfType([PropTypes.element, PropTypes.func]),
291-
/**
292-
* Style applied to the element, or a function that
293-
* returns a style object based on the component's state.
294-
*/
295-
style: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
296272
/**
297273
* The system prop that allows defining system overrides as well as additional CSS styles.
298274
*/

0 commit comments

Comments
 (0)