import React from 'react'; import { ScrollView, VStack, Center, useTheme, Heading } from 'native-base'; export const Example = () => { const { colors } = useTheme(); return (
Cyan
{Object.keys(colors.cyan).map((key, index) => { if (index >= 1 && index <= 5) return (
{key}
); })}
Yellow
{Object.keys(colors.cyan).map((key, index) => { if (index >= 1 && index <= 5) return (
{key}
); })}
Violet
{Object.keys(colors.violet).map((key, index) => { if (index >= 1 && index <= 5) return (
{key}
); })}
); };