gov-ui-core 0.2.1 → 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8,6 +8,7 @@ export interface ICarouselProps {
8
8
  rowKey?: string;
9
9
  dataKey?: string;
10
10
  settings?: Settings;
11
+ fitWidth?: boolean;
11
12
  }
12
13
  declare const Carousel: React.FC<ICarouselProps>;
13
14
  export default Carousel;
@@ -2,9 +2,12 @@ import React from 'react';
2
2
  import { UseFormReturn } from 'react-hook-form';
3
3
  export interface IFormProps {
4
4
  options?: any;
5
+ /** submit 동작 및 validation을 통과할 경우 실행 */
5
6
  submit: (data: any) => void;
7
+ /** error 가 아닌 경우에도 공백 object({}) 반환 */
6
8
  onError?: (errors: any, isSubmitting?: boolean) => void;
7
9
  onValid?: (isValid: boolean) => void;
10
+ /** Form.Item 필수 */
8
11
  children: React.ReactNode;
9
12
  layout?: {
10
13
  label: number | string;
@@ -1,5 +1,12 @@
1
1
  import React from 'react';
2
2
  import { ThemeType } from '../theme';
3
+ import 'antd/lib/table/style/index.css';
4
+ import 'antd/lib/dropdown/style/index.css';
5
+ import 'antd/lib/style/index.css';
6
+ import 'antd/lib/switch/style/index.css';
7
+ import 'antd/lib/spin/style/index.css';
8
+ import 'antd/lib/tooltip/style/index.css';
9
+ import '@mdi/font/css/materialdesignicons.min.css';
3
10
  interface IThemeProviderProps {
4
11
  theme?: ThemeType;
5
12
  primary?: string;