mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 12:30:18 +00:00
feat(react-content-loader): add ariaLabel property
This commit is contained in:
+1
@@ -22,6 +22,7 @@ export interface ContentLoaderProps {
|
||||
'xMidYMid slice' | 'xMaxYMid slice' | 'xMinYMax slice' | 'xMidYMax slice' | 'xMaxYMax slice';
|
||||
uniquekey?: string;
|
||||
className?: string;
|
||||
ariaLabel?: string;
|
||||
}
|
||||
export default class ContentLoader extends React.Component<ContentLoaderProps> { }
|
||||
export class Facebook extends React.Component<ContentLoaderProps> { }
|
||||
|
||||
@@ -17,6 +17,7 @@ const CustomComponent = () => {
|
||||
preserveAspectRatio="xMinYMin meet"
|
||||
uniquekey="reactcontentloader"
|
||||
className="my-class"
|
||||
ariaLabel="loading..."
|
||||
>
|
||||
{/* Pure SVG */}
|
||||
<rect x="0" y="0" rx="5" ry="5" width="70" height="70" />
|
||||
|
||||
Reference in New Issue
Block a user