mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-18 19:39:51 +08:00
38cf5e8a75
* 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>
15 lines
341 B
TypeScript
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 };
|