LogoCraftReactNative
Components

ButtonRound

A circular button component designed for displaying an icon. Commonly used for navigation actions or action buttons.

Component preview

Usage

Screen.tsx
import { ButtonRound } from "@/craftrn-ui/components/ButtonRound";
 
export const Screen = () => (
  <ButtonRound
    onPress={() => {}}
    size="small"
    renderIcon={(size) => (
      <ChevronLeft size={size} color={theme.colors.contentPrimary} />
    )}
  />
);

Props

PropTypeDefault

On this page