⚪ SVG-Powered component to easily create skeleton loadings.
Migrations instructions:
From now the attribute viewBox
is not generated automatically anymore, so it is necessary to use the package as a regular SVG, for example:
<ContentLoader width={width} height={height} viewBox={`0 0 ${width} ${height}`} />
Rename primaryColor
to backgroundColor
and secondaryColor
to
foregroundColor
.
feat(api): updates uniqueKey
Renamed prop key uniquekey
to uniqueKey
fix(svg): removes unnecessary keys
fix(web svg): adds display name
feat(a11y): improves attrs
Shift ariaLabel
to title
prop, the value remains
refactor(codebase): reestructure
test(web native): updates with new structure
test(native): sets animate false on tests
fix(svg): removes viewBox, width and height from api
fix(presets): updates to new api and some design updates
feat(content loader): sets new default as facebook instead of a box
docs(readme storybook): updates to new api
test(web native): updates