vpt-sebraeds 0.0.55 → 0.0.57
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.
- package/components/Banner/Banner.stories.jsx +127 -0
- package/components/Banner/index.jsx +70 -0
- package/components/ShuffleItem/index.jsx +22 -2
- package/dist/components/Banner/index.d.ts +19 -0
- package/dist/components/Banner/index.d.ts.map +1 -0
- package/dist/components/Banner/index.js +38 -0
- package/dist/components/ShuffleItem/index.d.ts.map +1 -1
- package/dist/components/ShuffleItem/index.js +18 -2
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +1 -0
- package/package.json +1 -1
- package/src/index.ts +1 -0
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import { View, Text, StyleSheet, ScrollView } from "react-native";
|
|
2
|
+
import Banner from ".";
|
|
3
|
+
|
|
4
|
+
const SAMPLE_IMAGE = 'https://images.unsplash.com/photo-1519125323398-675f0ddb6308?auto=format&fit=crop&w=600&q=80';
|
|
5
|
+
|
|
6
|
+
const meta = {
|
|
7
|
+
title: "Atom/Banner",
|
|
8
|
+
component: Banner,
|
|
9
|
+
tags: ["autodocs"],
|
|
10
|
+
parameters: {
|
|
11
|
+
layout: "centered",
|
|
12
|
+
backgrounds: {
|
|
13
|
+
default: "light",
|
|
14
|
+
values: [
|
|
15
|
+
{
|
|
16
|
+
name: "light",
|
|
17
|
+
value: "#f4f4f4"
|
|
18
|
+
}
|
|
19
|
+
]
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
argTypes: {
|
|
23
|
+
imageUrl: {
|
|
24
|
+
description: "URL da imagem do banner",
|
|
25
|
+
control: "text",
|
|
26
|
+
},
|
|
27
|
+
backgroundColor: {
|
|
28
|
+
description: "Cor de fundo (quando sem imagem)",
|
|
29
|
+
control: "color",
|
|
30
|
+
},
|
|
31
|
+
width: {
|
|
32
|
+
description: "Largura do banner",
|
|
33
|
+
control: "text",
|
|
34
|
+
},
|
|
35
|
+
minHeight: {
|
|
36
|
+
description: "Altura mínima do banner",
|
|
37
|
+
control: "number",
|
|
38
|
+
},
|
|
39
|
+
height: {
|
|
40
|
+
description: "Altura fixa do banner (opcional)",
|
|
41
|
+
control: "number",
|
|
42
|
+
},
|
|
43
|
+
borderRadius: {
|
|
44
|
+
description: "Border radius",
|
|
45
|
+
control: "number",
|
|
46
|
+
},
|
|
47
|
+
resizeMode: {
|
|
48
|
+
description: "Modo de redimensionamento da imagem",
|
|
49
|
+
control: "select",
|
|
50
|
+
options: ["cover", "contain", "stretch", "center"],
|
|
51
|
+
},
|
|
52
|
+
},
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
export default meta;
|
|
56
|
+
|
|
57
|
+
// ================ DEFAULT (sem imagem) ================
|
|
58
|
+
|
|
59
|
+
export const Default = {
|
|
60
|
+
args: {
|
|
61
|
+
minHeight: 120,
|
|
62
|
+
},
|
|
63
|
+
};
|
|
64
|
+
|
|
65
|
+
// ================ COM IMAGEM ================
|
|
66
|
+
|
|
67
|
+
export const WithImage = {
|
|
68
|
+
args: {
|
|
69
|
+
imageUrl: SAMPLE_IMAGE,
|
|
70
|
+
minHeight: 120,
|
|
71
|
+
},
|
|
72
|
+
};
|
|
73
|
+
|
|
74
|
+
// ================ ALTURA PERSONALIZADA ================
|
|
75
|
+
|
|
76
|
+
export const CustomHeight = {
|
|
77
|
+
args: {
|
|
78
|
+
imageUrl: SAMPLE_IMAGE,
|
|
79
|
+
height: 200,
|
|
80
|
+
},
|
|
81
|
+
};
|
|
82
|
+
|
|
83
|
+
// ================ TODAS AS VARIAÇÕES ================
|
|
84
|
+
|
|
85
|
+
export const AllVariants = {
|
|
86
|
+
render: () => (
|
|
87
|
+
<ScrollView style={{ width: '100%' }} contentContainerStyle={{ gap: 24, paddingBottom: 40 }}>
|
|
88
|
+
<Text style={styles.sectionTitle}>Variants</Text>
|
|
89
|
+
|
|
90
|
+
<View style={{ gap: 16 }}>
|
|
91
|
+
<Banner />
|
|
92
|
+
<Text style={styles.variantLabel}>default (sem imagem)</Text>
|
|
93
|
+
</View>
|
|
94
|
+
|
|
95
|
+
<View style={{ gap: 16 }}>
|
|
96
|
+
<Banner imageUrl={SAMPLE_IMAGE} />
|
|
97
|
+
<Text style={styles.variantLabel}>com imagem</Text>
|
|
98
|
+
</View>
|
|
99
|
+
|
|
100
|
+
<View style={{ gap: 16 }}>
|
|
101
|
+
<Banner imageUrl={SAMPLE_IMAGE} height={200} />
|
|
102
|
+
<Text style={styles.variantLabel}>altura personalizada (200px)</Text>
|
|
103
|
+
</View>
|
|
104
|
+
|
|
105
|
+
<View style={{ gap: 16 }}>
|
|
106
|
+
<Banner backgroundColor="#C2EFD1" minHeight={150} />
|
|
107
|
+
<Text style={styles.variantLabel}>cor personalizada</Text>
|
|
108
|
+
</View>
|
|
109
|
+
</ScrollView>
|
|
110
|
+
),
|
|
111
|
+
};
|
|
112
|
+
|
|
113
|
+
const styles = StyleSheet.create({
|
|
114
|
+
sectionTitle: {
|
|
115
|
+
fontSize: 18,
|
|
116
|
+
fontWeight: '700',
|
|
117
|
+
color: '#081032',
|
|
118
|
+
marginBottom: 8,
|
|
119
|
+
},
|
|
120
|
+
variantLabel: {
|
|
121
|
+
fontSize: 12,
|
|
122
|
+
fontWeight: '600',
|
|
123
|
+
color: '#687499',
|
|
124
|
+
marginTop: -12,
|
|
125
|
+
marginBottom: 8,
|
|
126
|
+
},
|
|
127
|
+
});
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { View, Image, StyleSheet } from 'react-native';
|
|
3
|
+
import Icon from '../Icon';
|
|
4
|
+
|
|
5
|
+
const Banner = ({
|
|
6
|
+
imageUrl = null,
|
|
7
|
+
backgroundColor = '#E3E9FF',
|
|
8
|
+
width = '100%',
|
|
9
|
+
minHeight = 120,
|
|
10
|
+
height = null,
|
|
11
|
+
borderRadius = 8,
|
|
12
|
+
resizeMode = 'cover',
|
|
13
|
+
placeholderIcon = 'image-line',
|
|
14
|
+
placeholderIconSize = 14,
|
|
15
|
+
placeholderIconColor = '#1B244B',
|
|
16
|
+
showPlaceholderIcon = true,
|
|
17
|
+
style = {},
|
|
18
|
+
imageStyle = {},
|
|
19
|
+
children = null,
|
|
20
|
+
}) => {
|
|
21
|
+
return (
|
|
22
|
+
<View
|
|
23
|
+
style={[
|
|
24
|
+
styles.container,
|
|
25
|
+
{
|
|
26
|
+
width,
|
|
27
|
+
minHeight,
|
|
28
|
+
borderRadius,
|
|
29
|
+
backgroundColor: imageUrl ? 'transparent' : backgroundColor,
|
|
30
|
+
},
|
|
31
|
+
height !== null && { height },
|
|
32
|
+
style,
|
|
33
|
+
]}
|
|
34
|
+
>
|
|
35
|
+
{imageUrl ? (
|
|
36
|
+
<Image
|
|
37
|
+
source={{ uri: imageUrl }}
|
|
38
|
+
style={[styles.image, { borderRadius }, imageStyle]}
|
|
39
|
+
resizeMode={resizeMode}
|
|
40
|
+
/>
|
|
41
|
+
) : (
|
|
42
|
+
showPlaceholderIcon && (
|
|
43
|
+
<View style={styles.placeholderContainer}>
|
|
44
|
+
<Icon name={placeholderIcon} size={placeholderIconSize} color={placeholderIconColor} />
|
|
45
|
+
</View>
|
|
46
|
+
)
|
|
47
|
+
)}
|
|
48
|
+
{children}
|
|
49
|
+
</View>
|
|
50
|
+
);
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
const styles = StyleSheet.create({
|
|
54
|
+
container: {
|
|
55
|
+
overflow: 'hidden',
|
|
56
|
+
position: 'relative',
|
|
57
|
+
},
|
|
58
|
+
image: {
|
|
59
|
+
...StyleSheet.absoluteFillObject,
|
|
60
|
+
width: '100%',
|
|
61
|
+
height: '100%',
|
|
62
|
+
},
|
|
63
|
+
placeholderContainer: {
|
|
64
|
+
...StyleSheet.absoluteFillObject,
|
|
65
|
+
alignItems: 'center',
|
|
66
|
+
justifyContent: 'center',
|
|
67
|
+
},
|
|
68
|
+
});
|
|
69
|
+
|
|
70
|
+
export default Banner;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { useState, useRef, useEffect } from 'react';
|
|
2
|
-
import { View, TouchableOpacity, StyleSheet, Dimensions } from 'react-native';
|
|
2
|
+
import { View, TouchableOpacity, StyleSheet, Dimensions, PanResponder } from 'react-native';
|
|
3
3
|
import { SwipeRow } from 'react-native-swipe-list-view';
|
|
4
4
|
import Icon from '../Icon';
|
|
5
5
|
import SEText from '../SEText';
|
|
@@ -39,6 +39,26 @@ const ShuffleItem = ({
|
|
|
39
39
|
const [isDragging, setIsDragging] = useState(false);
|
|
40
40
|
const [isExpanded, setIsExpanded] = useState(variant === 'expanded');
|
|
41
41
|
const rowRef = useRef(null);
|
|
42
|
+
const isSwipedLeftRef = useRef(false);
|
|
43
|
+
|
|
44
|
+
// Mantém ref sincronizado com state para o PanResponder
|
|
45
|
+
useEffect(() => {
|
|
46
|
+
isSwipedLeftRef.current = isSwipedLeft;
|
|
47
|
+
}, [isSwipedLeft]);
|
|
48
|
+
|
|
49
|
+
// PanResponder que intercepta gestos para a direita quando o row está fechado
|
|
50
|
+
const rightSwipeBlocker = useRef(
|
|
51
|
+
PanResponder.create({
|
|
52
|
+
onMoveShouldSetPanResponderCapture: (_evt, gestureState) => {
|
|
53
|
+
// Se o row está fechado e o gesto vai para a direita, captura o gesto
|
|
54
|
+
// para impedir que o SwipeRow receba
|
|
55
|
+
if (!isSwipedLeftRef.current && gestureState.dx > 2) {
|
|
56
|
+
return true;
|
|
57
|
+
}
|
|
58
|
+
return false;
|
|
59
|
+
},
|
|
60
|
+
})
|
|
61
|
+
).current;
|
|
42
62
|
|
|
43
63
|
// Efeito para fechar outros swipes
|
|
44
64
|
useEffect(() => {
|
|
@@ -89,7 +109,7 @@ const ShuffleItem = ({
|
|
|
89
109
|
const disableRowSwipe = !!showAddButton || !!disableSwipe;
|
|
90
110
|
console.log("disableRowSwipe:", disableRowSwipe);
|
|
91
111
|
return (
|
|
92
|
-
<View style={styles.containerWrapper}>
|
|
112
|
+
<View style={styles.containerWrapper} {...(!disableRowSwipe ? rightSwipeBlocker.panHandlers : {})}>
|
|
93
113
|
<SwipeRow
|
|
94
114
|
ref={rowRef}
|
|
95
115
|
rightOpenValue={disableRowSwipe ? 0 : -80}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export default Banner;
|
|
2
|
+
declare function Banner({ imageUrl, backgroundColor, width, minHeight, height, borderRadius, resizeMode, placeholderIcon, placeholderIconSize, placeholderIconColor, showPlaceholderIcon, style, imageStyle, children, }: {
|
|
3
|
+
imageUrl?: null | undefined;
|
|
4
|
+
backgroundColor?: string | undefined;
|
|
5
|
+
width?: string | undefined;
|
|
6
|
+
minHeight?: number | undefined;
|
|
7
|
+
height?: null | undefined;
|
|
8
|
+
borderRadius?: number | undefined;
|
|
9
|
+
resizeMode?: string | undefined;
|
|
10
|
+
placeholderIcon?: string | undefined;
|
|
11
|
+
placeholderIconSize?: number | undefined;
|
|
12
|
+
placeholderIconColor?: string | undefined;
|
|
13
|
+
showPlaceholderIcon?: boolean | undefined;
|
|
14
|
+
style?: {} | undefined;
|
|
15
|
+
imageStyle?: {} | undefined;
|
|
16
|
+
children?: null | undefined;
|
|
17
|
+
}): React.JSX.Element;
|
|
18
|
+
import React from 'react';
|
|
19
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../components/Banner/index.jsx"],"names":[],"mappings":";AAIA;;;;;;;;;;;;;;;sBA8CC;kBAlDiB,OAAO"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { View, Image, StyleSheet } from 'react-native';
|
|
3
|
+
import Icon from '../Icon';
|
|
4
|
+
const Banner = ({ imageUrl = null, backgroundColor = '#E3E9FF', width = '100%', minHeight = 120, height = null, borderRadius = 8, resizeMode = 'cover', placeholderIcon = 'image-line', placeholderIconSize = 14, placeholderIconColor = '#1B244B', showPlaceholderIcon = true, style = {}, imageStyle = {}, children = null, }) => {
|
|
5
|
+
return (<View style={[
|
|
6
|
+
styles.container,
|
|
7
|
+
{
|
|
8
|
+
width,
|
|
9
|
+
minHeight,
|
|
10
|
+
borderRadius,
|
|
11
|
+
backgroundColor: imageUrl ? 'transparent' : backgroundColor,
|
|
12
|
+
},
|
|
13
|
+
height !== null && { height },
|
|
14
|
+
style,
|
|
15
|
+
]}>
|
|
16
|
+
{imageUrl ? (<Image source={{ uri: imageUrl }} style={[styles.image, { borderRadius }, imageStyle]} resizeMode={resizeMode}/>) : (showPlaceholderIcon && (<View style={styles.placeholderContainer}>
|
|
17
|
+
<Icon name={placeholderIcon} size={placeholderIconSize} color={placeholderIconColor}/>
|
|
18
|
+
</View>))}
|
|
19
|
+
{children}
|
|
20
|
+
</View>);
|
|
21
|
+
};
|
|
22
|
+
const styles = StyleSheet.create({
|
|
23
|
+
container: {
|
|
24
|
+
overflow: 'hidden',
|
|
25
|
+
position: 'relative',
|
|
26
|
+
},
|
|
27
|
+
image: {
|
|
28
|
+
...StyleSheet.absoluteFillObject,
|
|
29
|
+
width: '100%',
|
|
30
|
+
height: '100%',
|
|
31
|
+
},
|
|
32
|
+
placeholderContainer: {
|
|
33
|
+
...StyleSheet.absoluteFillObject,
|
|
34
|
+
alignItems: 'center',
|
|
35
|
+
justifyContent: 'center',
|
|
36
|
+
},
|
|
37
|
+
});
|
|
38
|
+
export default Banner;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../components/ShuffleItem/index.jsx"],"names":[],"mappings":";AAQA;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../components/ShuffleItem/index.jsx"],"names":[],"mappings":";AAQA;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAibC;kBAzbkD,OAAO"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { useState, useRef, useEffect } from 'react';
|
|
2
|
-
import { View, TouchableOpacity, StyleSheet, Dimensions } from 'react-native';
|
|
2
|
+
import { View, TouchableOpacity, StyleSheet, Dimensions, PanResponder } from 'react-native';
|
|
3
3
|
import { SwipeRow } from 'react-native-swipe-list-view';
|
|
4
4
|
import Icon from '../Icon';
|
|
5
5
|
import SEText from '../SEText';
|
|
@@ -9,6 +9,22 @@ const ShuffleItem = ({ title = 'Nome da Ferramenta', subtitle = 'Lorem Máxima L
|
|
|
9
9
|
const [isDragging, setIsDragging] = useState(false);
|
|
10
10
|
const [isExpanded, setIsExpanded] = useState(variant === 'expanded');
|
|
11
11
|
const rowRef = useRef(null);
|
|
12
|
+
const isSwipedLeftRef = useRef(false);
|
|
13
|
+
// Mantém ref sincronizado com state para o PanResponder
|
|
14
|
+
useEffect(() => {
|
|
15
|
+
isSwipedLeftRef.current = isSwipedLeft;
|
|
16
|
+
}, [isSwipedLeft]);
|
|
17
|
+
// PanResponder que intercepta gestos para a direita quando o row está fechado
|
|
18
|
+
const rightSwipeBlocker = useRef(PanResponder.create({
|
|
19
|
+
onMoveShouldSetPanResponderCapture: (_evt, gestureState) => {
|
|
20
|
+
// Se o row está fechado e o gesto vai para a direita, captura o gesto
|
|
21
|
+
// para impedir que o SwipeRow receba
|
|
22
|
+
if (!isSwipedLeftRef.current && gestureState.dx > 2) {
|
|
23
|
+
return true;
|
|
24
|
+
}
|
|
25
|
+
return false;
|
|
26
|
+
},
|
|
27
|
+
})).current;
|
|
12
28
|
// Efeito para fechar outros swipes
|
|
13
29
|
useEffect(() => {
|
|
14
30
|
// Fecha este item quando outro item é aberto
|
|
@@ -55,7 +71,7 @@ const ShuffleItem = ({ title = 'Nome da Ferramenta', subtitle = 'Lorem Máxima L
|
|
|
55
71
|
};
|
|
56
72
|
const disableRowSwipe = !!showAddButton || !!disableSwipe;
|
|
57
73
|
console.log("disableRowSwipe:", disableRowSwipe);
|
|
58
|
-
return (<View style={styles.containerWrapper}>
|
|
74
|
+
return (<View style={styles.containerWrapper} {...(!disableRowSwipe ? rightSwipeBlocker.panHandlers : {})}>
|
|
59
75
|
<SwipeRow ref={rowRef} rightOpenValue={disableRowSwipe ? 0 : -80} leftOpenValue={0} stopLeftSwipe={disableRowSwipe ? 0 : -80} stopRightSwipe={0} disableRightSwipe={true} disableLeftSwipe={disableRowSwipe} swipeToOpenPercent={disableRowSwipe ? 100 : 50} swipeToClosePercent={disableRowSwipe ? 100 : 30} useNativeDriver={true} friction={disableRowSwipe ? 0 : 8} tension={disableRowSwipe ? 0 : 40} directionalDistanceChangeThreshold={3} swipeGestureBegan={() => {
|
|
60
76
|
if (!disableRowSwipe) {
|
|
61
77
|
setIsDragging(true);
|
package/dist/src/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ export { default as Accordion } from '../components/Accordion';
|
|
|
2
2
|
export { default as AccordionAvatar } from '../components/AccordionAvatar';
|
|
3
3
|
export { default as AdBanner } from '../components/AdBanner';
|
|
4
4
|
export { default as Avatar } from '../components/Avatar';
|
|
5
|
+
export { default as Banner } from '../components/Banner';
|
|
5
6
|
export { default as BottomSheet } from '../components/BottomSheet';
|
|
6
7
|
export { default as Breadcrumb } from '../components/Breadcrumb';
|
|
7
8
|
export { default as Button } from '../components/Button';
|
package/dist/src/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAC/D,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAC3E,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAC7D,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAC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AI,KAAK,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,OAAO,IAAI,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAC3E,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAC7D,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACjE,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAGzD,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAC3E,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AACnF,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,sBAAsB,CAAC"}
|
package/dist/src/index.js
CHANGED
|
@@ -7,6 +7,7 @@ export { default as Accordion } from '../components/Accordion';
|
|
|
7
7
|
export { default as AccordionAvatar } from '../components/AccordionAvatar';
|
|
8
8
|
export { default as AdBanner } from '../components/AdBanner';
|
|
9
9
|
export { default as Avatar } from '../components/Avatar';
|
|
10
|
+
export { default as Banner } from '../components/Banner';
|
|
10
11
|
export { default as BottomSheet } from '../components/BottomSheet';
|
|
11
12
|
export { default as Breadcrumb } from '../components/Breadcrumb';
|
|
12
13
|
export { default as Button } from '../components/Button';
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -9,6 +9,7 @@ export { default as Accordion } from '../components/Accordion';
|
|
|
9
9
|
export { default as AccordionAvatar } from '../components/AccordionAvatar';
|
|
10
10
|
export { default as AdBanner } from '../components/AdBanner';
|
|
11
11
|
export { default as Avatar } from '../components/Avatar';
|
|
12
|
+
export { default as Banner } from '../components/Banner';
|
|
12
13
|
export { default as BottomSheet } from '../components/BottomSheet';
|
|
13
14
|
export { default as Breadcrumb } from '../components/Breadcrumb';
|
|
14
15
|
export { default as Button } from '../components/Button';
|