remove shape :(

This commit is contained in:
Pavel Prichodko 2023-01-23 14:03:49 +01:00
parent ff87480747
commit 04762e196f
No known key found for this signature in database
GPG Key ID: 0EB8D75C775AB6F1
4 changed files with 0 additions and 57 deletions

View File

@ -6,7 +6,6 @@ export * from './icon-button'
export * from './image' export * from './image'
export * from './input' export * from './input'
export * from './messages' export * from './messages'
export * from './shape'
export * from './sidebar' export * from './sidebar'
export * from './sidebar-members' export * from './sidebar-members'
export * from './typography' export * from './typography'

View File

@ -1 +0,0 @@
export * from './shape'

View File

@ -1,39 +0,0 @@
import { Shape } from './shape'
// More on how to set up stories at: https://storybook.js.org/docs/7.0/react/writing-stories/introduction
export default {
title: 'Example/Shape',
component: Shape,
tags: ['autodocs'],
argTypes: {
backgroundColor: { control: 'color' }
}
}
// More on writing stories with args: https://storybook.js.org/docs/7.0/react/writing-stories/args
export const Primary = {
args: {
primary: true,
label: 'Shape'
}
}
export const Secondary = {
args: {
label: 'Shape'
}
}
export const Large = {
args: {
size: 'large',
label: 'Shape'
}
}
export const Small = {
args: {
size: 'small',
label: 'Shape'
}
}

View File

@ -1,16 +0,0 @@
import { Stack, styled } from '@tamagui/core'
export const Shape = styled(Stack, {
backgroundColor: '$primary',
width: 100,
height: 100,
cursor: 'pointer',
animation: 'fast',
borderRadius: '$4',
hoverStyle: {
backgroundColor: '$primaryHover',
},
pressStyle: {
backgroundColor: '$primaryHover',
},
})