mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-11-04 15:34:13 +00:00 
			
		
		
		
	refactor(#10336): remove hatches
This commit is contained in:
		
							parent
							
								
									6e21147ff6
								
							
						
					
					
						commit
						be7b71a2f5
					
				
					 2 changed files with 15 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -30,7 +30,7 @@ function toStories(component: string): string {
 | 
			
		|||
			properties={[
 | 
			
		||||
				<property
 | 
			
		||||
					key={<identifier name="layout" />}
 | 
			
		||||
					value={<literal value={`${dir}/`.startsWith('src/pages/') || base === 'MkAnalogClock.vue' ? 'fullscreen' : 'centered'} />}
 | 
			
		||||
					value={<literal value={`${dir}/`.startsWith('src/pages/') ? 'fullscreen' : 'centered'} />}
 | 
			
		||||
					kind="init"
 | 
			
		||||
				/>,
 | 
			
		||||
				...hasMsw
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -0,0 +1,14 @@
 | 
			
		|||
export const Default = {
 | 
			
		||||
	render(args, { argTypes }) {
 | 
			
		||||
		return {
 | 
			
		||||
			components: {
 | 
			
		||||
				MkAnalogClock,
 | 
			
		||||
			},
 | 
			
		||||
			props: Object.keys(argTypes),
 | 
			
		||||
			template: '<MkAnalogClock v-bind="$props" />',
 | 
			
		||||
		};
 | 
			
		||||
	},
 | 
			
		||||
	parameters: {
 | 
			
		||||
		layout: 'fullscreen',
 | 
			
		||||
	},
 | 
			
		||||
};
 | 
			
		||||
		Loading…
	
	Add table
		
		Reference in a new issue