Skip to content

Commit

Permalink
Merge pull request #1887 from gluestack/feat/radio-examples
Browse files Browse the repository at this point in the history
feat/radio-examples
  • Loading branch information
surajahmed authored Mar 12, 2024
2 parents c78ebed + 9e8476e commit c312657
Show file tree
Hide file tree
Showing 5 changed files with 461 additions and 85 deletions.
27 changes: 2 additions & 25 deletions example/storybook-nativewind/src/components/Alert/Alert.tsx
Original file line number Diff line number Diff line change
@@ -1,16 +1,6 @@
import React from 'react';
import { Alert, AlertIcon, AlertText } from '@/components/ui/alert';
import {
InfoIcon,
CheckCircleIcon,
CloseCircleIcon,
BellIcon,
AlertCircleIcon,
Icon,
} from '@/components/ui/icon';
import { VStack } from '@/components/ui/vstack';
import { Center } from '@/components/ui/center';
import { HStack } from '@/components/ui/hstack';
import { InfoIcon } from '@/components/ui/icon';

const AlertBasic = ({ ...props }: any) => {
return (
Expand All @@ -26,17 +16,4 @@ AlertBasic.description =

export default AlertBasic;

export {
Alert,
AlertIcon,
AlertText,
InfoIcon,
CheckCircleIcon,
CloseCircleIcon,
BellIcon,
AlertCircleIcon,
Icon,
VStack,
Center,
HStack,
};
export { Alert, AlertIcon, AlertText, InfoIcon };
17 changes: 1 addition & 16 deletions example/storybook-nativewind/src/components/Divider/Divider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@ import React from 'react';
import { Divider } from '@/components/ui/divider';
import { HStack } from '@/components/ui/hstack';
import { Heading } from '@/components/ui/heading';
import { Center } from '@/components/ui/center';
import { Text } from '@/components/ui/text';
import { VStack } from '@/components/ui/vstack';
import { Box } from '@/components/ui/box';
import { Button, ButtonText } from '@/components/ui/button';

const DividerBasic = ({ ...props }) => {
return (
Expand All @@ -33,14 +28,4 @@ DividerBasic.description =

export default DividerBasic;

export {
Text,
VStack,
HStack,
Divider,
Box,
Heading,
Button,
ButtonText,
Center,
};
export { HStack, Divider, Heading };
43 changes: 2 additions & 41 deletions example/storybook-nativewind/src/components/Fab/Fab.tsx
Original file line number Diff line number Diff line change
@@ -1,22 +1,7 @@
import React from 'react';
import { Fab, FabIcon, FabLabel } from '@/components/ui/fab';
import { Avatar, AvatarImage } from '@/components/ui/avatar';
import { AddIcon, MenuIcon, SearchIcon, CheckIcon } from '@/components/ui/icon';
import { MenuIcon } from '@/components/ui/icon';
import { Box } from '@/components/ui/box';
import {
Checkbox,
CheckboxIndicator,
CheckboxLabel,
CheckboxIcon,
} from '@/components/ui/checkbox';
import { Link } from '@/components/ui/link';
import { VStack } from '@/components/ui/vstack';
import { HStack } from '@/components/ui/hstack';
import { Heading } from '@/components/ui/heading';
import { Text } from '@/components/ui/text';
import { Divider } from '@/components/ui/divider';
import { Image } from '@/components/ui/image';
import { EditIcon, ShoppingCartIcon } from 'lucide-react-native';

const FabBasic = (props: any) => {
return (
Expand All @@ -34,28 +19,4 @@ FabBasic.description =

export default FabBasic;

export {
Fab,
FabIcon,
FabLabel,
Avatar,
AvatarImage,
AddIcon,
MenuIcon,
SearchIcon,
CheckIcon,
Box,
Checkbox,
CheckboxIndicator,
CheckboxLabel,
CheckboxIcon,
Link,
VStack,
HStack,
Heading,
Text,
Divider,
Image,
EditIcon,
ShoppingCartIcon,
};
export { Fab, FabIcon, FabLabel, MenuIcon, Box };
Loading

0 comments on commit c312657

Please sign in to comment.