Usage

Use a platform icon

This type is used by Symbol

tsx
import { Symbol } from 'kuito';

export const ShareIcon = () => (
  <Symbol name={{ ios: 'square.and.arrow.up', android: 'share' }} size={20} />
);

Type declaration

ts
export type SymbolName = string | { ios: string; android: string };

Type

ts
string | {    ios: string;    android: string;}
Generated from the public TypeScript declarations: signatures, props and defaults come from the checked source, descriptions from its JSDoc. No defaults are invented.