ant-design/components/grid/index.tsx
vagusX 38cf5e8a75
docs: unify component export file as index.tsx (#50013)
* docs: unify component export file as index.tsx

* docs: compatible with old anchors

* chore: clean

* test: update snapshot

* fix: window env

---------

Co-authored-by: Peach <scdzwyxst@gmail.com>
2024-07-23 22:22:24 +08:00

15 lines
341 B
TypeScript

import Col from './col';
import useInternalBreakpoint from './hooks/useBreakpoint';
import Row from './row';
// Do not export params
function useBreakpoint() {
return useInternalBreakpoint();
}
export type { ColProps, ColSize } from './col';
export type { RowProps } from './row';
export { Col, Row };
export default { useBreakpoint };