Skip to content

@aws-amplify/[email protected]

Compare
Choose a tag to compare
@github-actions github-actions released this 09 Sep 19:21
· 64 commits to main since this release
05e3818

Minor Changes

  • #5767 afffa89cb Thanks @thaddmt! - feat(textarea): add autoresizing to textarea

    export const AutoresizeTextareaExample = () => {
      const [value, setValue] = React.useState('');
    
      return (
        <TextAreaField
          autoResize
          label="Comments"
          value={value}
          onChange={(e) => {
            setValue(e.target.value);
          }}
        />
      );
    };
  • #5767 afffa89cb Thanks @thaddmt! - feat(scrollview): add autoScroll prop

    <ScrollView autoScroll="smooth">{/* ... */}</ScrollView>
  • #5767 afffa89cb Thanks @thaddmt! - feat(primitives): add Avatar primitive

    {
      /* Avatar with image */
    }
    <Avatar src="/cats/5.jpg" />;
    {
      /* Avatar with default placeholder icon */
    }
    <Avatar />;
    {
      /* Avatar with initials */
    }
    <Avatar>DB</Avatar>;
    {
      /* Avatar with custom icon */
    }
    <Avatar>
      <FiSmile style={{ width: '60%', height: '60%' }} />
    </Avatar>;

Patch Changes