configProvider.stories.js 598 B

123456789101112131415161718192021222324252627282930
  1. import React from 'react';
  2. import ChangeTimeZone from './ChangeTimeZone';
  3. import GetContainer from './GetPopupContainer';
  4. import RTLWrapper from './RTLDirection/RTLWrapper';
  5. import RTLTable from './RTLDirection/RTLTable';
  6. import RTLForm from './RTLDirection/RTLForm';
  7. export default {
  8. title: 'ConfigProvider',
  9. parameters: {
  10. chromatic: { disableSnapshot: true },
  11. },
  12. }
  13. export {
  14. ChangeTimeZone,
  15. GetContainer,
  16. }
  17. export const RTLTableDemo = () => (
  18. <RTLWrapper>
  19. <RTLTable />
  20. </RTLWrapper>
  21. );
  22. export const RTLFormDemo = () => (
  23. <RTLWrapper>
  24. <RTLForm />
  25. </RTLWrapper>
  26. );