Skip to content

Instantly share code, notes, and snippets.

@11111000000
Created January 27, 2018 10:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 11111000000/25b8ce3594efff2a343704a462570fed to your computer and use it in GitHub Desktop.
Save 11111000000/25b8ce3594efff2a343704a462570fed to your computer and use it in GitHub Desktop.
"Муравьиный лев" - модуль и идея, как заменить тяжёлую библиотеку компонентов Antd на проекте.
/**
* Муравьиный лев (antd-killer)
*/
import * as Layout from 'modules/layout';
import * as Menu from 'modules/menus';
export { Button } from 'modules/buttons'
export { Row, Col } from 'react-simple-flex-grid'
export { Layout }
export { message, Tooltip } from 'modules/messages'
export { TextField, NumberField, SpanField, InputNumber } from 'modules/forms'
export { Form } from 'modules/forms'
export { Table } from 'react-table'
export { Menu }
export const Card = (props) => (
<div className='cap-card'>
{ props.children }
</div>
)
export { Icon } from 'modules/icons'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment