Rezi
    Preparing search index...

    Function styled

    • Type Parameters

      • Kind extends "text" | "button"
      • Variants extends Record<string, VariantDefinition<string>>

      Parameters

      Returns (
          props: (
              Kind extends "button"
                  ? Readonly<
                      {
                          disabled?: boolean;
                          id: string;
                          key?: string;
                          label: string;
                          onPress?: () => void;
                          px?: number;
                          style?: Readonly<
                              {
                                  bg?: Readonly<{ b: ...; g: ...; r: ... }>;
                                  bold?: boolean;
                                  dim?: boolean;
                                  fg?: Readonly<{ b: ...; g: ...; r: ... }>;
                                  inverse?: boolean;
                                  italic?: boolean;
                                  underline?: boolean;
                              },
                          >;
                      },
                  >
                  : { text: string }
          ) & VariantProps<Variants>,
      ) => VNode