Files
react-content-loader/doczrc.js
Alexandre Kirszenberg b8e5cb9e8c feat(svg): add a gradientRatio prop (#140)
* feat(svg): add an interval prop

Add an interval prop that controls the duration of the interval between two animations. For
instance, an interval of `.25` and an animation speed of `2` imply that the animation will
take 1.5s to complete, and wait 0.5s before starting again.

* feat(svg): add a gradientRatio prop

Add a gradientRatio prop that controls the width of the gradient relative to the viewbox's own
width. For instance, a gradientRatio of `0.5` and a width of `200` imply that the resulting gradient
will have a width of 100px.

* docs(docz): add props section
2019-03-06 21:34:14 +00:00

26 lines
471 B
JavaScript

import emoji from 'remark-emoji'
export default {
title: 'React Content Loader',
typescript: true,
mdPlugins: [emoji],
menu: ['Welcome', 'Usage', 'Props'],
htmlContext: {
head: {
links: [
{
rel: 'stylesheet',
href: 'https://codemirror.net/theme/dracula.css',
},
],
},
},
themeConfig: {
codemirrorTheme: 'dracula',
colors: {
primary: '#673ab7',
sidebarBg: '#f3f3f3',
},
},
}