import { ReactNode } from 'react';
import { ViewStyle } from 'react-native';

import { PaackIcons } from '~/components/icon';
import { TextTransform } from '~/components/text/text.props';
import { TranslationKey } from '~/i18n';

import { SpacePresets } from './details-section.presets';

export interface DetailsSectionProps {
  icon: PaackIcons;
  space?: SpacePresets;
  title?: string;
  titleTransform?: TextTransform;
  children: ReactNode;
  titleTx?: TranslationKey;
  titleTxOptions?: object;
  detailsStyle?: ViewStyle;
  headerStyle?: ViewStyle;
  style?: ViewStyle;
}
