Skip to content

Commit

Permalink
[docs] Enable button ts demos
Browse files Browse the repository at this point in the history
  • Loading branch information
eps1lon committed Mar 4, 2019
1 parent 990f9de commit 004d95e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pages/demos/buttons.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@ import React from 'react';
import MarkdownDocs from 'docs/src/modules/components/MarkdownDocs';

const req = require.context('docs/src/pages/demos/buttons', false, /\.md|\.js$/);
const reqSource = require.context('!raw-loader!../../docs/src/pages/demos/buttons', false, /\.js$/);
const reqSource = require.context(
'!raw-loader!../../docs/src/pages/demos/buttons',
false,
/\.(js|tsx)$/,
);
const reqPrefix = 'pages/demos/buttons';

function Page() {
Expand Down

0 comments on commit 004d95e

Please sign in to comment.