17.0.5 • Published 8 months ago
@oracle/oraclejet-preact-icons v17.0.5
@oracle/oraclejet-preact-icons
This package contains all of the Redwood icons available as Preact components.
Usage
Import the icons using the form
import { Accessibility } from '@oracle/oraclejet-preact-icons/UNSAFE_RedwoodIcons/Accessibility';
And use them in your Preact app with
<div><Accessibility accessibleLabel={"My accessible label"} /></div>
Bundlers
Depending on the bundler you use, importing and resolving the icons should just work, however, there are older bundlers that may need some additional configuration.
For instance, Webpack 4 will require additional mappings to locate the code:
module.exports = {
resolve: {
alias: {
'@oracle/oraclejet-preact-icons': '@oracle/oraclejet-preact-icons/es',
'@oracle/oraclejet-preact/UNSAFE_Icon$': '@oracle/oraclejet-preact/es/UNSAFE_Icon.js',
'@oracle/oraclejet-preact': '@oracle/oraclejet-preact/es'
}
}
};
16.1.7
8 months ago
17.0.5
8 months ago
16.0.11
8 months ago
17.0.4
8 months ago
17.0.3
9 months ago
17.0.2
9 months ago
16.0.8
1 year ago
16.1.6
10 months ago
16.0.7
1 year ago
16.0.10
10 months ago
17.0.1
10 months ago
17.0.0
10 months ago
16.1.4
12 months ago
16.1.3
1 year ago
16.1.2
1 year ago
16.1.1
1 year ago
16.1.0
1 year ago
16.0.6
1 year ago
16.0.5
1 year ago
16.0.4
1 year ago
16.0.3
1 year ago
16.0.2
1 year ago
16.0.1
1 year ago
16.0.0
1 year ago