File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
packages/react/src/components/SkeletonPlaceholder Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 11/**
2- * Copyright IBM Corp. 2016, 2023
2+ * Copyright IBM Corp. 2016, 2025
33 *
44 * This source code is licensed under the Apache-2.0 license found in the
55 * LICENSE file in the root directory of this source tree.
66 */
77
8- import React from 'react' ;
8+ import React , { type HTMLAttributes } from 'react' ;
99import PropTypes from 'prop-types' ;
1010import classNames from 'classnames' ;
1111import { usePrefix } from '../../internal/usePrefix' ;
1212
13- export interface SkeletonPlaceholderProps {
13+ export interface SkeletonPlaceholderProps
14+ extends HTMLAttributes < HTMLDivElement > {
1415 /**
1516 * Add a custom class to the component to set the height and width
1617 */
@@ -34,8 +35,7 @@ const SkeletonPlaceholder = ({
3435
3536SkeletonPlaceholder . propTypes = {
3637 /**
37- * Add a custom class to the component
38- * to set the height and width
38+ * Add a custom class to the component to set the height and width
3939 */
4040 className : PropTypes . string ,
4141} ;
You can’t perform that action at this time.
0 commit comments