-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5958 from gucal/master
New port from PrimeVue
- Loading branch information
Showing
36 changed files
with
247 additions
and
625 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import * as React from 'react'; | ||
import { IconBaseProps } from '../../iconbase'; | ||
|
||
/** | ||
* Defines valid properties in BlankIcon component. In addition to these, all properties of SVGSVGElement can be used in this component. | ||
* @group Properties | ||
*/ | ||
export interface BlankIconProps extends IconBaseProps {} | ||
|
||
/** | ||
* **PrimeReact - BlankIcon** | ||
* | ||
* [Live Demo](https://www.primereact.org/icons/) | ||
* --- --- | ||
* ![PrimeReact](https://primefaces.org/cdn/primereact/images/logo-100.png) | ||
* | ||
* @group Component | ||
*/ | ||
export declare class BlankIcon extends React.Component<BlankIconProps, any> {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import * as React from 'react'; | ||
import { IconBase } from '../../iconbase/IconBase'; | ||
|
||
export const BlankIcon = React.memo( | ||
React.forwardRef((inProps, ref) => { | ||
const pti = IconBase.getPTI(inProps); | ||
|
||
return ( | ||
<svg ref={ref} width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg" {...pti}> | ||
<rect width="1" height="1" fill="currentColor" fillOpacity="0" /> | ||
</svg> | ||
); | ||
}) | ||
); | ||
|
||
BlankIcon.displayName = 'BlankIcon'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"main": "./index.cjs.js", | ||
"module": "./index.esm.js", | ||
"unpkg": "./index.min.js", | ||
"types": "./index.d.ts", | ||
"sideEffects": false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.